Fix bug in the update scripts
This commit is contained in:
parent
38cd7bdee8
commit
cb6834c2fb
5 changed files with 7 additions and 5 deletions
|
|
@ -277,7 +277,7 @@ for ($e=0;$e < $MaxDossier;$e++) {
|
|||
$db_row=pg_fetch_array($Resdossier,$e);
|
||||
echo "Patching ".$db_row['dos_name']."<hr>";
|
||||
$db=DbConnect($db_row['dos_id'],'dossier');
|
||||
if ( GetVersion($db) == 4 ) {
|
||||
if ( GetVersion($db) == 3 ) {
|
||||
ExecuteScript($db,'sql/patch/upgrade4.sql');
|
||||
|
||||
$sql="select jrn_def_id from jrn_def ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue