[geeklog-hg] geeklog: Backed out undefined variable fix for in loadFromArray ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Nov 5 06:59:59 EST 2013
changeset 9333:109b3b80c8ce
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/109b3b80c8ce
user: Tom <websitemaster at cogeco.net>
date: Tue Nov 05 06:58:36 2013 -0500
description:
Backed out undefined variable fix for in loadFromArray in Story Class. Created a number of bugs. This undefined variable error must be fixed deeper in the call stack.
diffstat:
system/classes/story.class.php | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (16 lines):
diff -r 8aaf9ab27e45 -r 109b3b80c8ce system/classes/story.class.php
--- a/system/classes/story.class.php Mon Nov 04 20:40:23 2013 -0500
+++ b/system/classes/story.class.php Tue Nov 05 06:58:36 2013 -0500
@@ -420,12 +420,6 @@
if (array_key_exists('fullname', $story)) {
$this->_fullname = $story['fullname'];
}
-
- if (COM_isAnonUser()) {
- $this->_uid = 1;
- } else {
- $this->_uid = $_USER['uid'];
- }
// Overwrite the date with the timestamp.
$this->_date = $story['unixdate'];
More information about the geeklog-cvs
mailing list