[Phplib-trackers] [ phplib-Bugs-482372 ] problem in page.inc
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2001-11-16 04:05:09
|
Bugs item #482372, was opened at 2001-11-15 20:05 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=482372&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Russell McOrmond (russellmcormond) Assigned to: Nobody/Anonymous (nobody) Summary: problem in page.inc Initial Comment: phplib-7.2d , 7.2c (I upgraded to see if the upgrade would fix the problem) I just upgraded from PHP 4.0.4 to php 4.0.6 On my PHPSlash site I would get the following on the bottom of each page: Fatal error: Call to a member function on a non-object in /usr/share/phplib/page.inc on line 68 I am temporarily using the following patch which masks the problem, but I suspect something else is not properly happening at this point. --- page.inc Wed Jul 12 14:22:35 2000 +++ /usr/share/phplib/page.inc Thu Nov 15 22:54:52 2001 @@ -64,7 +64,7 @@ if (isset($sess)) { $sess->freeze(); - if (isset($user)) { + if (isset($user) && isset($user->freeze)) { $user->freeze(); } } ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=482372&group_id=31885 |