[mythtv-commits] Ticket #5277: Problem with mythweb and PHP 5.2
MythTV
mythtv at cvs.mythtv.org
Wed Apr 30 23:12:26 UTC 2008
#5277: Problem with mythweb and PHP 5.2
-------------------------------------+--------------------------------------
Reporter: tom at redpepperracing.com | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
I just upgraded to latest SVN on my Ubuntu 7.10 backend, and running
mythweb I got the following error:
Fatal error: Nesting level too deep - recursive dependency? in
/usr/local/src/mythweb/classes/Database.php on line 202
The following patch fixes it:
Index: mythweb/classes/Database.php
===================================================================
--- mythweb/classes/Database.php (revision 17185)
+++ mythweb/classes/Database.php (working copy)
@@ -199,7 +199,7 @@
* @param string $name The global name this instance is registered as.
/**/
function register_global_name($name) {
- if ($GLOBALS[$name] == $this) {
+ if ($GLOBALS[$name] === $this) {
$this->global_name = $name;
return true;
}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5277>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list