From 8251bdf867dc67cf943b96b8d8d8addaa976743d Mon Sep 17 00:00:00 2001
From: Henning Leutz <leutz@pcsg.de>
Date: Wed, 4 Oct 2017 15:56:08 +0200
Subject: [PATCH] fix: unique ids patch -> site load

---
 patches/uniqueIds.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patches/uniqueIds.php b/patches/uniqueIds.php
index 4a75145..047fa3f 100644
--- a/patches/uniqueIds.php
+++ b/patches/uniqueIds.php
@@ -60,6 +60,7 @@
             echo $Project->getName().'-'.$Project->getLang().'-'.$id.PHP_EOL;
 
             $Edit = $Site->getEdit();
+            $Edit->load();
             $Edit->save(QUI::getUsers()->getSystemUser());
         } catch (QUI\Exception $Exception) {
             continue;
-- 
GitLab