[Bug 235467] www/oscommerce
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 4 08:43:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235467
--- Comment #4 from Greg Quinlan <gwq_uk at yahoo.com> ---
Did not see that...
After a quick glance they have made the exactly the some changes.. :) there are
files that don't exist (anymore) between versions, extra code (of course) and
they missed this one.
./catalog/includes/classes/navigation_history.php
code: (starting at line 133)
function unserialize($broken) {
for(reset($broken);$kv=each($broken);) {
// ^^^^
$key=$kv['key'];
if (gettype($this->$key)!="user function")
$this->$key=$kv['value'];
}
}
This should be:
code:
function unserialize($broken) {
foreach ($broken as $k => $v) {
$kv = [$k, $v];
}
$key=$kv['key'];
if (gettype($this->$key)!="user function")
$this->$key=$kv['value'];
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list