3 Jan
2008
3 Jan
'08
10:23 p.m.
I output with print_r($blocks); in BOTH codes, same values was printed!!! Very wierd Feijó ----- Original Message ----- From: "Chris Johnson" <cxjohnson@gmail.com> To: <development@drupal.org> Sent: Thursday, January 03, 2008 6:36 PM Subject: Re: [development] block hook problem on D6
Clearly, there must already be some values in the $blocks array. The first code fragment is overwriting some of them, while the second code fragment is appending to them.
If $blocks is undefined to start, both code fragments produce exactly the same array.
..chris