Closed (cannot reproduce)
Project:
Content Templates (Contemplate)
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 20:09 UTC
Updated:
11 Jun 2011 at 01:23 UTC
Update 6102 does not return an array (e.g. $ret), therefore update.php upchucks (warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\wamp\www\drupal6\update.php on line 174.
).
/**
* Clear the cache to get the updates to hook_menu().
*/
function contemplate_update_6102() {
$ret = array();
cache_clear_all();
$ret[] = array('success' => TRUE, 'query' => t('Caches cleared.'));
return $ret;
}
Comments
Comment #1
dgtlmoon commentedappears to be fixed in current 6.x-1.x dev, I re-ran the update and no problems came from it
6102 looks like