From 472d6a6c2e562dc992afb2c884b134131e333915 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 17 Aug 2006 03:26:16 +0000 Subject: [PATCH] Found a smoother-looking way to implement NewRegister() --- Loader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Loader.php b/Loader.php index 60359c8..4a3d1dc 100644 --- a/Loader.php +++ b/Loader.php @@ -89,9 +89,9 @@ class BSLoader { require_once('ISSO/Register.php'); - self::SharedInstance()->registers[] = new BSRegister(); + self::SharedInstance()->registers[] = $return = new BSRegister(); - return end(self::SharedInstance()->registers); + return $return; } // ################################################################### -- 2.43.5