diff options
Diffstat (limited to 'db_table.class')
-rw-r--r-- | db_table.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db_table.class b/db_table.class index 567bb7f..5536ccf 100644 --- a/db_table.class +++ b/db_table.class @@ -94,7 +94,7 @@ function _get_field_info() /* debug("name='" . $this->fieldnames[$i] . "', len=" . $this->fieldlengths[$i] . ", type='" . $this->fieldtypes[$i] . "', flags='" . $this->fieldflags[$i] . "'\n", 6); */ } } - else internal_error("mysql_list_fields($this->db->name, $this->name, $this->db->link) failed."); + else it::fatal("mysql_list_fields($this->db->name, $this->name, $this->db->link) failed."); } @@ -307,7 +307,7 @@ function make_select($name, $selected, $globaloption, $optionfield, $description function drop() { if ($this->name == '') - internal_error("it_db_table::drop(): no table\n"); + it::fatal("it_db_table::drop(): no table\n"); if ($result = $this->db->sql_query('DROP TABLE IF EXISTS '.$this->name)) { |