Problem when using associative arrays with custom functions

From: Date: Sun, 18 Aug 2002 18:50:58 +0000
Subject: Problem when using associative arrays with custom functions
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5736@lists.php.net to get a copy of this message
Hi, I have the following snipplet of a smarty template: {$info.rel_scheduled_date} {assign var="boo" value="$info.rel_timestamp"} {$boo} $info as many of you already can guess is an associative array. I get the following output from this template: 2002-08-10 Array.rel_timestamp I found this problem when I tried to do the following: {html_select_date field_array="scheduled_date" prefix="" time="$boo" start_year="-1" end_year="+1" all_extra='class="default"'} And the selected date was today's one, and not 2002-08-10 like I originally wanted. The question now: is this a bug or I'm just missing something obvious here? Cheers, Joao -- Precisando de consultoria em desenvolvimento para a Internet ? Impleo - http://impleo.net/?lang=br -- Leia mais sobre os nossos serviços e produtos http://impleo.net/products.php?lang=br

« previous php.smarty.general (#5736) next »