MDL-32786 E_STRICT: fix warning when creating a new service.

This commit is contained in:
Eloy Lafuente (stronk7)
2012-05-04 12:44:10 +02:00
parent aa753ac24f
commit 75c386d4b2
+1 -1
View File
@@ -56,7 +56,7 @@ class external_service_form extends moodleform {
function definition() {
$mform = $this->_form;
$service = $this->_customdata;
$service = isset($this->_customdata) ? $this->_customdata : new stdClass();
$mform->addElement('header', 'extservice',
get_string('externalservice', 'webservice'));