]> git.openstreetmap.org Git - nominatim.git/commitdiff
bugfix nominatim
authorFrederik Ramm <frederik@remote.org>
Fri, 9 Sep 2011 16:00:34 +0000 (16:00 +0000)
committerFrederik Ramm <frederik@remote.org>
Fri, 9 Sep 2011 16:00:34 +0000 (16:00 +0000)
utils/update.php

index 7fc864c57f655e09c0539e20bb7d3a80a307d56b..dbf158e5d67f1b2a0a5e4e12a7fd749ce0275a9a 100755 (executable)
                                $iFileID = $oDB->getOne('select nextval(\'file\')');
                                if (PEAR::isError($iFileID))
                                {
-                                       echo $oDB->getMessage()."\n";
+                                       echo $iFileID->getMessage()."\n";
                                        exit;
                                } 
                                $sFileDir = CONST_BasePath.'/export/diff/';