Closed (works as designed)
Project:
Strongarm
Version:
7.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jun 2011 at 09:53 UTC
Updated:
15 Sep 2011 at 16:11 UTC
Just grabbed the 7.x-2.0-beta2 version, activated it, and I have this notice :
Notice: Undefined variable: reset in strongarm_get_cache() (line 67 of /media/nfsdrive/xxx/sites/all/modules/contrib/strongarm/strongarm.module).
function strongarm_get_cache() {
static $conf;
if (!isset($conf) || $reset) {
$conf = array();
$cache = cache_get('strongarm', 'cache');
if ($cache) {
$conf = $cache->data;
}
}
return $conf;
}
$reset is really not used at all there. Maybe it was intended to be part of function's arguments ?
Comments
Comment #1
tirdadc commentedThere is no strongarm_get_cache() defined in 7.x-2.0-beta2, are you sure you're working with a clean copy of the 7.x release?
Comment #2
febbraro commented