Fixed typo in that, the parameter that was supposed to go to getConfig was going to htmlspecialchars()
authorDan
Fri, 30 Apr 2010 22:13:08 -0400
changeset 1247 30f023a13a71
parent 1246 330f4de4c937
child 1248 3914c9a95879
Fixed typo in that, the parameter that was supposed to go to getConfig was going to htmlspecialchars()
plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php	Fri Apr 30 22:10:57 2010 -0400
+++ b/plugins/SpecialAdmin.php	Fri Apr 30 22:13:08 2010 -0400
@@ -1226,7 +1226,7 @@
 			<?php echo $lang->get('acpup_field_magick_enable'); ?>
 		</label>
 		<br />
-		<?php echo $lang->get('acpup_field_magick_path'); ?> <input type="text" name="imagemagick_path" value="<?php echo htmlspecialchars(getConfig('imagemagick_path'), '/usr/bin/convert'); ?>" onkeyup="ajaxVerifyFilePath(this);" /><br />
+		<?php echo $lang->get('acpup_field_magick_path'); ?> <input type="text" name="imagemagick_path" value="<?php echo htmlspecialchars(getConfig('imagemagick_path', '/usr/bin/convert')); ?>" onkeyup="ajaxVerifyFilePath(this);" /><br />
 		<?php echo $lang->get('acpup_field_magick_path_hint'); ?>
 	</p>