From 9f5aec688b13e0186b42916ec23b71bfd9e91a7c Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Thu, 12 Sep 2013 09:31:37 +0000
Subject: [PATCH] fix: dir backup

---
 core/trunk/core/class/class_functions.php | 2 +-
 core/trunk/core/xml/actions_pages.xml     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php
index 2a61cbf63cb..a81838ecb65 100644
--- a/core/trunk/core/class/class_functions.php
+++ b/core/trunk/core/class/class_functions.php
@@ -1443,7 +1443,7 @@ class functions
         $isEmpty = true;
         $filesArray = array();
         while (($entry = readdir($dir)) !== false) {
-            if ($entry !== '.' && $entry !== '..'  && $entry !== '.svn') {
+            if ($entry !== '.' && $entry !== '..'  && $entry !== '.svn' && $entry !== 'backup') {
                 array_push($filesArray, $entry);
             }
         }
diff --git a/core/trunk/core/xml/actions_pages.xml b/core/trunk/core/xml/actions_pages.xml
index 3a716158f3e..8ea22860927 100644
--- a/core/trunk/core/xml/actions_pages.xml
+++ b/core/trunk/core/xml/actions_pages.xml
@@ -217,7 +217,7 @@ An action page is described in a ACTIONPAGE tag :
         <MODULE>records_management</MODULE>
         <FLAG_CREATE>false</FLAG_CREATE>
         <COLLECTIONS>
-            <COLL_ID>io_coll</COLL_ID>
+            <COLL_ID>rm_coll</COLL_ID>
         </COLLECTIONS>
     </ACTIONPAGE>
     <ACTIONPAGE>
-- 
GitLab