Update all isset()? to ??

All the old isset($var) ? $var : <other> have been changed to $var ??
<other>
This commit is contained in:
Clemens Schwaighofer
2020-01-24 17:52:38 +09:00
parent e46d0fa4a4
commit 114ca6c24a
13 changed files with 120 additions and 105 deletions

View File

@@ -260,7 +260,7 @@ class PgSQL
// set pk_name to "id"
$pk_name = $table."_id";
}
$seq = (($schema) ? $schema.'.' : '').$table."_".$pk_name."_seq";
$seq = ($schema ? $schema.'.' : '').$table."_".$pk_name."_seq";
$q = "SELECT CURRVAL('$seq') AS insert_id";
// I have to do manually or I overwrite the original insert internal vars ...
if ($q = $this->__dbQuery($q)) {