From 5cee9c0a1e0c6f9b1b3d9002ec957f2692f58ee2 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 29 Apr 2012 07:12:42 +0200 Subject: [PATCH] Fixed variable names --- frontend/classes/class.node.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/classes/class.node.php b/frontend/classes/class.node.php index 624bd63..3146cb7 100644 --- a/frontend/classes/class.node.php +++ b/frontend/classes/class.node.php @@ -16,8 +16,8 @@ if(!isset($_CVM)) { die("Unauthorized."); } class Node extends CPHPDatabaseRecordClass { public $table_name = "nodes"; - public $fill_query = "SELECT * FROM {$table_name} WHERE `Id` = '%d'"; - public $verify_query = "SELECT * FROM {$table_name} WHERE `Id` = '%d'"; + public $fill_query = "SELECT * FROM {$this->table_name} WHERE `Id` = '%d'"; + public $verify_query = "SELECT * FROM {$this->table_name} WHERE `Id` = '%d'"; public $prototype = array( 'string' => array(