diff --git a/interface/lib/app.inc.php b/interface/lib/app.inc.php
index 46f7213240bd452ca1472d0111fd77d80fcda990..11bd02439841fde35fb62e7d7c1bba116bf28a23 100755
--- a/interface/lib/app.inc.php
+++ b/interface/lib/app.inc.php
@@ -78,7 +78,7 @@ class app {
 		
 		$this->uses($prop);
 		if(property_exists($this, $prop)) return $this->{$prop};
-		else trigger_error('Undefined property ' . $name . ' of class app', E_USER_WARNING);
+		else trigger_error('Undefined property ' . $prop . ' of class app', E_USER_WARNING);
 	}
 	
 	public function __destruct() {