aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mythtv/files/patch-bindings__php__MythBase.php
blob: e291c6dc26f61f4cad4d3831e0efebd2f2ec0560 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bindings/php/MythBase.php.orig	2012-07-16 17:21:00.000000000 +0200
+++ bindings/php/MythBase.php	2012-07-29 14:13:02.915720097 +0200
@@ -47,7 +47,7 @@
 
     public function __destruct() {
         if (!is_null($this->cacheKey))
-            Cache::setObject($this->cacheKey, &$this, $this->cacheLifetime);
+            Cache::setObject($this->cacheKey, $this, $this->cacheLifetime);
         $this->cacheKey = null;
     }