$this->name ----> $this->$name
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 26 Feb 2009 05:27:24 +0000 (00:27 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 26 Feb 2009 05:27:24 +0000 (00:27 -0500)
framework/View/lib/Horde/View/Base.php

index 34a13ca..f479c06 100644 (file)
@@ -89,7 +89,7 @@ abstract class Horde_View_Base
      */
     public function __get($name)
     {
-        return isset($this->name) ? $this->name : '';
+        return isset($this->$name) ? $this->$name : '';
     }
 
     /**