From e6c4c7796f5bfb215e4fe36dfebc65f9a40e3408 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 14 Nov 2012 07:00:12 -0500 Subject: [PATCH] - Removed billing module cron jobs from cron_daily.sh and added billing module container cron job script cron_daily_billing.sh which contains all billing module related daily cron jobs. --- interface/lib/classes/form.inc.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/lib/classes/form.inc.php b/interface/lib/classes/form.inc.php index 4feb329..898cbe6 100644 --- a/interface/lib/classes/form.inc.php +++ b/interface/lib/classes/form.inc.php @@ -140,6 +140,7 @@ * @return record */ function decode($record) { + global $app; if(is_array($record)) { foreach($record as $key => $val) { switch ($this->tableDef[$key]['datatype']) { @@ -154,7 +155,7 @@ break; case 'INTEGER': - $new_record[$key] = intval($val); + $new_record[$key] = $app->functions->intval($val); break; case 'DOUBLE': @@ -306,7 +307,7 @@ } break; case 'INTEGER': - $new_record[$key] = intval($val); + $new_record[$key] = $app->functions->intval($val); break; case 'DOUBLE': $new_record[$key] = $app->db->quote($val); -- Gitblit v1.9.1