From 13efedde34b65c368ab513f7fb04e34e3fc5bc58 Mon Sep 17 00:00:00 2001 From: Eric Stadtherr Date: Sat, 21 Jul 2018 21:53:41 -0600 Subject: [PATCH] fix omitted initialization --- utils/setup.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/setup.php b/utils/setup.php index b71e07e0..1b4a345f 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -953,6 +953,8 @@ function checkModulePresence() $sSQL = "CREATE FUNCTION nominatim_test_import_func(text) RETURNS text AS '"; $sSQL .= $sModulePath."/nominatim.so', 'transliteration' LANGUAGE c IMMUTABLE STRICT"; $sSQL .= ';DROP FUNCTION nominatim_test_import_func(text);'; + + $oDB =& getDB(); $oResult = $oDB->query($sSQL); $bResult = true; -- 2.39.5