[ZendTo] Re: Sorry...

Jules Jules at ZendTo.com
Mon Aug 9 22:54:32 BST 2010



On 09/08/2010 13:31, Sergio Rabellino wrote:
> I did a mistake in the expiration calculus:
> The $prefs array is not available (anymore) as a global var, so it's 
> correct to use instead
>
> $this->_dropbox->retainDays()
What you mean is this:
     $smarty->assign('expiryDate', 
timeForDate($this->created())+3600*24*$this->_
dropbox->retainDays());
That actually works :-)

Cheers,

Jules

-- 
Julian Field MEng CITP CEng
www.ZendTo.com

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM



More information about the ZendTo mailing list