From: Frederik Ramm Date: Fri, 9 Sep 2011 16:00:34 +0000 (+0000) Subject: bugfix nominatim X-Git-Tag: v2.0.0~129 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/89a365787f2e14d531dfeeeb0bf3bcb1d2872af8?hp=5e2b9011067cdf902476eac196fbd3b5dca7e597 bugfix nominatim --- diff --git a/utils/update.php b/utils/update.php index 7fc864c5..dbf158e5 100755 --- a/utils/update.php +++ b/utils/update.php @@ -365,7 +365,7 @@ $iFileID = $oDB->getOne('select nextval(\'file\')'); if (PEAR::isError($iFileID)) { - echo $oDB->getMessage()."\n"; + echo $iFileID->getMessage()."\n"; exit; } $sFileDir = CONST_BasePath.'/export/diff/';