Merge pull request #30 from mattbucci/hotfix/incorrect-constant

replace incorrect constant
This commit is contained in:
Matthew Bucci
2023-10-29 13:03:33 -07:00
committed by GitHub

View File

@@ -183,7 +183,7 @@
$res = pg_query($sql);
if( false !== $res)
$data = pg_fetch_result($res, 0, 0);
elseif( PG4WP_DEBUG || PG4WP_ERROR_LOG)
elseif( PG4WP_DEBUG || PG4WP_LOG)
{
$log = '['.microtime(true)."] wpsql_insert_id() was called with '$table' and '$ins_field'".
" and returned the error:\n".pg_last_error().