mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-14 08:43:40 +02:00
fix: use isset() when checking table property value
This commit is contained in:
parent
0e367f797f
commit
6d0647530e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
private function throw_if_no_table() {
|
||||
if (!$this->table) {
|
||||
if (!isset($this->table)) {
|
||||
throw new Exception("No table name defined");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue