[development] block hook problem on D6

Alessandro Feijó patrao at legendas.feijo.info
Thu Jan 3 21:23:57 UTC 2008


I output with print_r($blocks);

in BOTH codes, same values was printed!!!


Very wierd


Feijó


----- Original Message ----- 
From: "Chris Johnson" <cxjohnson at gmail.com>
To: <development at 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



More information about the development mailing list