Slim Flash with a multidimensional array

Hi,

I am using Slim Flash and having an issue passing an array. I have the following code:

$this->flash->addMessage('array_name', $array);

The output of that code is:

Array    
(

    [0] => Array
    [1] => Array
)

I am expecting it to be:

Array
(
[0] => Array
    (
        [key] => Value
    )

[1] => Array
    (
        [key] => Value
    )
)

Is this an issue with how I am doing it or is this an issue with the session storage?

Thanks!

What does $array contain?