1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Fixed an issue with the default imagepicker() value.

This commit is contained in:
CaMer0n
2012-07-18 08:07:07 +00:00
parent 1f073d0552
commit c7c4da179b

View File

@@ -349,7 +349,8 @@ class e_form
}
else
{
$default = $default_url = e_IMAGE_ABS."generic/blank.gif";
//$default = $default_url = e_IMAGE_ABS."generic/blank.gif";
$default_url = e_IMAGE_ABS."generic/blank.gif";
$blank = TRUE;
}
@@ -377,7 +378,7 @@ class e_form
$ret .= $this->mediaUrl($cat, $label,$name_id);
$ret .= "</div>\n";
$ret .= "<input type='hidden' name='{$name}' id='{$name_id}' value='{$default}' />"; // to be hidden eventually.
$ret .= "<input type='hidden' name='{$name}' id='{$name_id}' value='{$default}' />";
// $ret .= $this->text($name,$default); // to be hidden eventually.
return $ret;