From 4c6c415f02012c86dafd1ec6ad330beff57a6f1f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 7 Nov 2013 10:03:19 -0500 Subject: [PATCH] fix: wrote dbCon instead of dbConn --- web/includes/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/includes/database.php b/web/includes/database.php index 967509874..f597101de 100644 --- a/web/includes/database.php +++ b/web/includes/database.php @@ -168,8 +168,8 @@ function dbNumRows( $sql ) function dbInsertId() { - global $dbCon; - return( $dbCon->lastInsertId() ); + global $dbConn; + return( $dbConn->lastInsertId() ); } function getEnumValues( $table, $column )