diff --git a/panel_manager/includes/session_dao.php b/panel_manager/includes/session_dao.php index cb8bb7c..17af748 100644 --- a/panel_manager/includes/session_dao.php +++ b/panel_manager/includes/session_dao.php @@ -25,7 +25,7 @@ //Returns a query to get the session's data. public function sessionData($id){ - $sql = sprintf( "SELECT * FROM sessions WHERE id = '%d'", $id ); + $sql = sprintf( "SELECT * FROM `session` WHERE id = '%d'", $id ); $resul = mysqli_query($this->mysqli, $sql) or die ('Error into query database'); return $resul;