]> git.mjollnir.org Git - moodle.git/commitdiff
fixed default proxyport value
authorskodak <skodak>
Wed, 27 Sep 2006 10:30:54 +0000 (10:30 +0000)
committerskodak <skodak>
Wed, 27 Sep 2006 10:30:54 +0000 (10:30 +0000)
admin/settings/server.php

index 2ec29cd4ab9c45e60faa9fe89bb583c34b549228..ea00ad01dc1949f7cd3abf86cdc171ede09acb1e 100644 (file)
@@ -124,7 +124,7 @@ $temp = new admin_settingpage('http', get_string('http', 'admin'));
 $temp->add(new admin_setting_configtext('framename', get_string('framename', 'admin'), get_string('configframename', 'admin'), '_top', PARAM_ALPHAEXT));
 $temp->add(new admin_Setting_configcheckbox('slasharguments', get_string('slasharguments', 'admin'), get_string('configslasharguments', 'admin'), 1));
 $temp->add(new admin_setting_configtext('proxyhost', get_string('proxyhost', 'admin'), get_string('configproxyhost', 'admin'), '', PARAM_HOST));
-$temp->add(new admin_setting_configtext('proxyport', get_string('proxyport', 'admin'), get_string('configproxyport', 'admin'), '', PARAM_INT));
+$temp->add(new admin_setting_configtext('proxyport', get_string('proxyport', 'admin'), get_string('configproxyport', 'admin'), 0, PARAM_INT));
 $ADMIN->add('server', $temp);
 
 $ADMIN->add('server', new admin_externalpage('sitefiles', get_string('sitefiles'), $CFG->wwwroot . '/files/index.php?id=' . SITEID));