From bc999433b18fc22701f1c75cc6258397e1dce08c Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 11 Dec 2009 20:12:44 +0000 Subject: [PATCH] Fix bad function calls --- e107_admin/update_routines.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_admin/update_routines.php b/e107_admin/update_routines.php index f78ada369..4ffad838c 100644 --- a/e107_admin/update_routines.php +++ b/e107_admin/update_routines.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $ -| $Revision: 1.69 $ -| $Date: 2009-12-11 00:36:24 $ -| $Author: e107coders $ +| $Revision: 1.70 $ +| $Date: 2009-12-11 20:12:44 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -1084,10 +1084,10 @@ function addIndexToTable($target, $indexSpec, $just_check, &$updateMessages, $op */ function catch_error(&$target) { - if (vartrue($target->getLastErrText()) && E107_DEBUG_LEVEL != 0) + if (vartrue($target->getLastErrorText()) && E107_DEBUG_LEVEL != 0) { $tmp2 = debug_backtrace(); - $tmp = $target->getLastErrText(); + $tmp = $target->getLastErrorText(); echo $tmp." [ ".basename(__FILE__)." on line ".$tmp2[0]['line']."]
"; } return;