Removing the BSVariableRegistry and instead making public static vars in BSApp for...
[isso.git] / Input.php
index bfb37e48d32f53e6d60195908876ab6d2488aa32..9530d499abe144c99edcd3d2e8f92a64b6d8eef7 100644 (file)
--- a/Input.php
+++ b/Input.php
@@ -209,7 +209,7 @@ class BSInput
        */
        public function escape($str, $force = true)
        {
-               $db = BSApp::registry()->getType('Db');
+               $db = BSApp::$db;
                if ($this->magicquotes AND !$force)
                {
                        if ($db)