From 6aacffa901d006b82b2cdb16ee75d901c12d336b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Aug 2006 01:55:40 +0000 Subject: [PATCH] Fixing a bug of var not exist --- Loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Loader.php b/Loader.php index 481cfc5..5cddfd6 100644 --- a/Loader.php +++ b/Loader.php @@ -110,9 +110,9 @@ class BSLoader * * @param object New main register */ - public static function SetRegister($newreg) + public static function SetRegister($register) { - if (get_class($newreg) != 'BSRegister') + if (get_class($register) != 'BSRegister') { throw new Exception('BSLoader::SetRegister() was not passed a BSRegister object'); } -- 2.43.5