Date: Sat, 23 Jul 2022 22:27:39 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265395] mail/squirrelmail: INBOX does not populate messages after upgrading php 7.4 to php 8.0 Message-ID: <bug-265395-7788-8CUSAE0Bp6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265395-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-265395-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=3D265395 --- Comment #2 from MattS <matt@snowtrek.org> --- (In reply to Zsolt Udvari from comment #1) I'm a novice programmer, so I'm very hesitant to recommend any changes. My understanding is that php 8.0 throws a fatal error when trying to do math functions with a string. This was allowed in php5.6, and gave a warning in php7.4. Since substr() returns a string, I figured I'd try wrapping it in intval to return an integer instead so that could be used in the time zone conversion. I assume this would continue to work in any php version, but I don't know f= or sure. I'm also not sure if there could be a problem with $iTzc being an int= eger elsewhere in squirrelmail. --=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-265395-7788-8CUSAE0Bp6>