Ticket #168 (closed Patch: fixed)

Opened 13 months ago

Last modified 13 months ago

Do not check controller resources when return is True

Reported by: armen Owned by:
Priority: major Milestone:
Component: Core Version: SVN HEAD
Keywords: Cc:

Description (last modified by Geert) (diff)


Change History

Changed 13 months ago by armen

Index: system/libraries/Loader.php
===================================================================
--- system/libraries/Loader.php (revision 972)
+++ system/libraries/Loader.php (working copy)
@@ -58,7 +58,7 @@
         */
        public function library($name, $config = array(), $return = FALSE)
        {
-               if (isset(Kohana::instance()->$name))
+               if (isset(Kohana::instance()->$name) AND $return == FALSE)
                        return FALSE;

                if ($name == 'database')
@@ -179,4 +179,4 @@
                return new View($name, $data);
        }

-} // End Loader Class
\ No newline at end of file
+} // End Loader Class

Changed 13 months ago by Geert

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

Changed 13 months ago by Geert

  • description modified (diff)

Fixed in r973

Note: See TracTickets for help on using tickets.