Revision 91c31339
Added by Warren Baker about 14 years ago
usr/local/www/pkg_edit.php | ||
---|---|---|
464 | 464 |
$value = $_POST[$fieldname]; |
465 | 465 |
if (is_array($value)) $value = implode(',', $value); |
466 | 466 |
} else { |
467 |
if (isset($id) && $a_pkg[$id] && $a_pkg[$id][$fieldname])
|
|
467 |
if (isset($id) && $a_pkg[$id]) |
|
468 | 468 |
$value = $a_pkg[$id][$fieldname]; |
469 | 469 |
else |
470 | 470 |
$value = $pkga['default_value']; |
Also available in: Unified diff
Revert "Correct displaying any availble default value."
This reverts commit 01c170c4612a4afdbaa2d6e9bf98552dddc1cde3.