Major work to domain and hosting
Minor updates for ADSL services Updates to Sort::MAsort() Move core OSB items under application/ Moved ACCOUNT functions under application Minor updates to task
This commit is contained in:
@@ -223,7 +223,7 @@ function sqlConditions($db,$Conditions=false,$Tables=false) {
|
||||
|
||||
# Add the SITE ID
|
||||
if (! is_array($Tables) || count($Tables) == 1) {
|
||||
if ($Tables == 'setup')
|
||||
if (in_array($Tables,array('setup','currency','tax')))
|
||||
$where .= sprintf('id=%s',DEFAULT_SITE);
|
||||
else
|
||||
$where .= sprintf('site_id=%s',DEFAULT_SITE);
|
||||
|
@@ -169,6 +169,7 @@ class CORE_list {
|
||||
}
|
||||
|
||||
public function format_currency_decimal($number,$currency_id,$decimals=DEFAULT_DECIMAL_PLACE) {
|
||||
return ($number);
|
||||
if (empty($number))
|
||||
return 0;
|
||||
if (empty($currency_id))
|
||||
|
Reference in New Issue
Block a user