undefined index -error
Petteri Karttunen <[email protected]> Tue, 14 Oct 2003 20:22:41 +0300
| Newsgroups | gmane.comp.horde.giapeto |
|---|---|
| Message-ID | <[email protected]> |
Hi!
With the cvs-version of both Horde and Giapeto of 14. October i get:
Notice: Undefined index: modified in .../horde/giapeto/lib/Page.php on line 121
The function in question does not check the existence of
$this->data['page']['modified']. So should the line 121 be something like:
!isset($this->data['page']['modified']) ? $modified = null : $modified =
strftime('%d/%m/%y', $this->data['page']['modified']);
instead of:
$modified = strftime('%d/%m/%y', $this->data['page']['modified']);
:pete
--
giapeto mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]