Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2019 08:43:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235467] www/oscommerce
Message-ID:  <bug-235467-7788-VfcbvQRLQp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235467-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235467-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235467

--- Comment #4 from Greg Quinlan <gwq_uk@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) a=
nd
they missed this one.

./catalog/includes/classes/navigation_history.php

code: (starting at line 133)
function unserialize($broken) {
      for(reset($broken);$kv=3Deach($broken);) {
//                           ^^^^
        $key=3D$kv['key'];
        if (gettype($this->$key)!=3D"user function")
        $this->$key=3D$kv['value'];
      }
    }

This should be:
code:
function unserialize($broken) {
        foreach ($broken as $k =3D> $v) {
          $kv =3D [$k, $v];
        }
        $key=3D$kv['key'];
        if (gettype($this->$key)!=3D"user function")
        $this->$key=3D$kv['value'];
      }
    }

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235467-7788-VfcbvQRLQp>