diff --git a/include/class.timezone.php b/include/class.timezone.php
index 42f178b581e4ce6ed2fc8c60c3cfe60faded6a95..cdff816345a2048b667b1385cdd73df35c500862 100644
--- a/include/class.timezone.php
+++ b/include/class.timezone.php
@@ -29,12 +29,12 @@ class Timezone {
         if(!$id && !($id=$this->getId()))
             return false;
 
-        $sql='SELECT * FROM '.TIMEZONE_TABLE.' WHERE timezone_id='.db_input($id);
+        $sql='SELECT * FROM '.TIMEZONE_TABLE.' WHERE id='.db_input($id);
         if(!($res=db_query($sql)) || !db_num_rows($res))
             return false;
 
         $this->ht=db_fetch_array($res);
-        $this->id=$this->ht['timezone_id'];
+        $this->id=$this->ht['id'];
         
         return $this->id;
     }