Moved the INTERNAL_ERROR calls to use the class function instead of the global one.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@561 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-14 21:21:21 +00:00
parent 778bb43895
commit d024d333d2
4 changed files with 14 additions and 14 deletions

View File

@@ -482,7 +482,7 @@ class TransactionsController extends AppController {
$deposit_total += $type['total'];
if ($deposit['Transaction']['amount'] != $deposit_total)
INTERNAL_ERROR("Deposit items do not add up to deposit slip total");
$this->INTERNAL_ERROR("Deposit items do not add up to deposit slip total");
$this->sidemenu_links[] =
array('name' => 'Operations', 'header' => true);