// @TODO Why is this global??? #100
global $status;
- if (!is_array($GLOBALS['last'])) $GLOBALS['last'] = array();
+ // Fix missing 'last' array, damn stupid code :(((
+ // @TODO Try to rewrite this to one or more functions
+ if ((!isset($GLOBALS['last'])) || (!is_array($GLOBALS['last']))) $GLOBALS['last'] = array();
+
$ret = false;
// is the cache entry there?