diff --git a/includes/view.inc b/includes/view.inc index 9c29efe..9cbb5b4 100644 --- a/includes/view.inc +++ b/includes/view.inc @@ -57,7 +57,7 @@ class view extends views_db_object { * @var string */ var $current_display; - + /** * Constructor */ @@ -1324,7 +1324,7 @@ class view extends views_db_object { * If TRUE, reset this entry in the load cache. * @return A view object or NULL if it was not available. */ - function &load($arg, $reset = FALSE) { + public static function &load($arg, $reset = FALSE) { static $cache = array(); // We want a NULL value to return TRUE here, so we can't use isset() or empty().