diff --git a/class/Common/Sql/Table.php b/class/Common/Sql/Table.php index 11a85863..c2185cda 100644 --- a/class/Common/Sql/Table.php +++ b/class/Common/Sql/Table.php @@ -673,6 +673,7 @@ public function get_structure_info( $table, $table_structure = array(), $state_d $points = array(); $field_set = array(); $this->primary_keys = array(); + $this->first_select = null; $use_primary_keys = true; foreach ( $table_structure as $struct ) {