[Tickets #3560] PHP Fatal error: Call to a member function getData() on a non-object in /usr/share/horde/turba/display.php on line 76
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Mar 3 08:08:39 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3560
-----------------------------------------------------------------------
Ticket | 3560
Updated By | glen at delfi.ee
Summary | PHP Fatal error: Call to a member function getData() on a non-object in /usr/share/horde/turba/display.php on line 76
Queue | Turba
Version | 2.1-RC2
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
+New Attachment | display.html
-----------------------------------------------------------------------
glen at delfi.ee (2006-03-03 08:08) wrote:
i'm attaching output after changing code to:
/* Get the contact's history. */
if ($object->getValue('__uid')) {
$history = &Horde_History::singleton();
$log = $history->getHistory('turba:' . ($object->getValue('__owner') ?
$object->getValue('__owner') : Auth:
$a = print_r($history,1);
$m = "history=$history; <pre>$a</pre>";
echo $m;
echo "log[$log]<br>\n";
foreach ($log->getData() as $entry) {
i hope this will ease solving the bug.
More information about the bugs
mailing list