Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb59b1
)
MDL-38852 repository_alfresco: fix missing setType calls
author
Dan Poltawski
<dan@moodle.com>
Wed, 3 Apr 2013 02:38:48 +0000
(10:38 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Wed, 3 Apr 2013 03:13:58 +0000
(11:13 +0800)
repository/alfresco/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/repository/alfresco/lib.php
b/repository/alfresco/lib.php
index
7e8cfb4
..
ec71506
100644
(file)
--- a/
repository/alfresco/lib.php
+++ b/
repository/alfresco/lib.php
@@
-274,6
+274,7
@@
class repository_alfresco extends repository {
return false;
}
$mform->addElement('text', 'alfresco_url', get_string('alfresco_url', 'repository_alfresco'), array('size' => '40'));
+ $mform->setType('alfresco_url', PARAM_URL);
$mform->addElement('static', 'alfreco_url_intro', '', get_string('alfrescourltext', 'repository_alfresco'));
$mform->addRule('alfresco_url', get_string('required'), 'required', null, 'client');
return true;