Permalink
Browse files

Fix Cannot use a scalar value as an array, take 2

  • Loading branch information...
1 parent 08b469b commit 798b39ea05d03464fe9366d0537ecf8db3dc173b @kormoc kormoc committed Apr 7, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 mythtv/bindings/php/MythBackend.php
@@ -42,13 +42,13 @@ static function find($host = null, $port = null) {
FATAL);
}
- if (!isset($Backend[$host]))
- $Backend[$host] = array();
+ if (!isset($Backends[$host]))
+ $Backends[$host] = array();
- if (!isset($Backend[$host][$port]))
- $Backend[$host][$port] = new MythBackend($host, $port);
+ if (!isset($Backends[$host][$port]))
+ $Backends[$host][$port] = new MythBackend($host, $port);
- return $Backend[$host][$port];
+ return $Backends[$host][$port];
}
function __construct($host, $port = null) {

0 comments on commit 798b39e

Please sign in to comment.