[Kolab-devel] Horde Webmailer
Stefan Gohmann
gohmann at univention.de
Sun Oct 22 12:33:23 CEST 2006
Am Samstag, 21. Oktober 2006 22:26 schrieb Peter Baldwin:
> Quoting Gunnar Wrobel <wrobel at pardus.de>:
> >> Parse error: parse error, unexpected T_OBJECT_OPERATOR
> >> in /usr/share/horde3/lib/Horde/Share/kolab.php on line 858
> >
> > Hm, looks like a php syntax error. I do have this code around that
> > line and no parse problem:
> >
> > $result = $this->_storage->getImap()->mailboxExist($new_folder);
>
> That's a syntax error in PHP 4, but legal in PHP 5.
>
Yes, I'm using PHP 4 and when I changed the line to
$imap = $this->_storage->getImap();
$result = $imap->mailboxExist($new_folder);
everything works fine.
Cheers,
Stefan
--
Stefan Gohmann <gohmann at univention.de> fon: +49 421 22 232- 0
Entwicklung Linux for Your Business
Univention GmbH http://www.univention.de/ fax: +49 421 22 232-99
More information about the devel
mailing list