Fixed a bug with the menu not working for non-recurring products
This commit is contained in:
parent
d1547673dc
commit
062c11729b
@ -15,7 +15,7 @@
|
|||||||
* @license http://www.agileco.com/agilebill/license1-4.txt
|
* @license http://www.agileco.com/agilebill/license1-4.txt
|
||||||
* @author Tony Landis <tony@agileco.com>
|
* @author Tony Landis <tony@agileco.com>
|
||||||
* @package AgileBill
|
* @package AgileBill
|
||||||
* @version 1.4.93
|
* @version 1.4.94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function CORE_database_add($VAR, $construct, $type)
|
function CORE_database_add($VAR, $construct, $type)
|
||||||
@ -153,7 +153,7 @@ function CORE_database_add($VAR, $construct, $type)
|
|||||||
$insert_value = $validate->convert($field_name, $insert_value, $construct->field["$value"]["convert"]);
|
$insert_value = $validate->convert($field_name, $insert_value, $construct->field["$value"]["convert"]);
|
||||||
|
|
||||||
# create the sql statement
|
# create the sql statement
|
||||||
if(!empty($insert_value))
|
if(!is_null($insert_value))
|
||||||
$field_list .= ", " . $value . "=" . $db->qstr($insert_value, get_magic_quotes_gpc());
|
$field_list .= ", " . $value . "=" . $db->qstr($insert_value, get_magic_quotes_gpc());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user