[pLog-svn] r1719 - plog/branches/plog-1.1-ben/class/view
ork at devel.plogworld.net
ork at devel.plogworld.net
Mon Apr 4 23:52:08 GMT 2005
Author: ork
Date: 2005-04-04 23:52:07 +0000 (Mon, 04 Apr 2005)
New Revision: 1719
Modified:
plog/branches/plog-1.1-ben/class/view/view.class.php
Log:
same fix as in the trunk
Modified: plog/branches/plog-1.1-ben/class/view/view.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/view/view.class.php 2005-04-04 23:13:51 UTC (rev 1718)
+++ plog/branches/plog-1.1-ben/class/view/view.class.php 2005-04-04 23:52:07 UTC (rev 1719)
@@ -309,11 +309,11 @@
// 'browser' object that all views will have, so that we can gather information
// about the client...
- if ($this->getSessionValue("phpSniffObject") == "") {
+ if ($this->getSessionValue("phpSniff") == "") {
// as long as we're part of a session, the client won't change :)
- $this->setSessionValue("phpSniffObject", new phpSniff());
+ $this->setSessionValue("phpSniff", serialize(new phpSniff()));
}
- $this->setValue( "browser", $this->getSessionValue("phpSniffObject") );
+ $this->setValue( "browser", unserialize($this->getSessionValue("phpSniff")) );
}
}
?>
More information about the pLog-svn
mailing list