SF.net SVN: postfixadmin:[1537] trunk/edit.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-10-13 19:08:35
|
Revision: 1537 http://sourceforge.net/p/postfixadmin/code/1537 Author: christian_boltz Date: 2013-10-13 19:08:32 +0000 (Sun, 13 Oct 2013) Log Message: ----------- edit.php: - fix "undefined index hardcoded_edit" message (only set in AdminpasswordHandler) Modified Paths: -------------- trunk/edit.php Modified: trunk/edit.php =================================================================== --- trunk/edit.php 2013-10-13 18:11:18 UTC (rev 1536) +++ trunk/edit.php 2013-10-13 19:08:32 UTC (rev 1537) @@ -119,7 +119,7 @@ } if ($_SERVER['REQUEST_METHOD'] == "POST" || $active != '') { - if ($formconf['hardcoded_edit']) { + if (isset($formconf['hardcoded_edit']) && $formconf['hardcoded_edit']) { $values[$id_field] = $form_fields[$id_field]['default']; } elseif ($edit != "") { $values[$id_field] = $edit; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |