in the menuman module in the settings pannel of a menu
field "Image map" is unchecked by default.
If i check this all work fine, but when i uncheck this
checkbox the value in the db don't change!!
I have find the problem:
in the file mod/menuman/class/menu.php at the row 572
the module check if the variable exist with this code:
if(isset($_POST['MMN_image_map'])) {
$this->image_map = $_POST['MMN_image_map'];
}
but this is not complete, because if a checkbox is
unchecked the variable not assume a "negative" value
but simply the variable are not send. For this i have
change the code reported in:
if(isset($_POST['MMN_image_map'])) {
$this->image_map = $_POST['MMN_image_map'];
} else {
$this->image_map = 0;
}
Correct?
Sorry for my terrible english!
bye bye!
CArOgNa
Logged In: YES
user_id=225888
This has already been fixed. Please upgrade you version of
phpwebsite to 0.9.3-2 or greater.
Steven