[dev] varrenderer question
Chuck Hagenbuch
chuck at horde.org
Fri Jul 23 14:40:41 PDT 2004
Quoting Andrew Coleman <mercury at appisolutions.net>:
> I'm trying to use a multienum VarRenderer to display a bunch of categories at
> once, and i keep getting this error:
>
> Warning: in_array(): Wrong datatype for second argument in
> /usr/lib/php/Horde/UI/VarRenderer/html.php on line 845
>
> Warning: in_array(): Wrong datatype for second argument in
> /usr/lib/php/Horde/UI/VarRenderer/html.php on line 845
>
> in the html.php file, i found this line:
> $on = $var->getValue($vars);
>
> is it possible that i am passing $vars in as an array? i'm not sure
> where that
> is happening since i am using a horde_form for most of the layout... The $on
> variable is checked as the array (in_array), but upon further inspection, $on
> is an number (i'm passing around numbers for category id's)...
>
> I'm not really sure what this is... anyone have any ideas?
Not without seeing the code you're using - can you post just the snippet that
results in this?
-chuck
--
"Regard my poor demoralized mule!" - Juan Valdez
More information about the dev
mailing list