diff --git a/lib/classes/base.class.php b/lib/classes/base.class.php
index c6e67a954f..73efe5842f 100644
--- a/lib/classes/base.class.php
+++ b/lib/classes/base.class.php
@@ -351,7 +351,7 @@ abstract class base
// {
// $alter[] = "ALTER TABLE `".$table['name']."` DROP `$f_name`";
// }
- }
+ }
foreach ($correct_table['fields'] as $f_name => $expr)
{
@@ -515,20 +515,25 @@ abstract class base
continue;
}
- $list_patches[$patch->get_release()][] = $patch;
+ $n = 0;
+ do
+ {
+ $key = $patch->get_release() . '.' . $n;
+ $n++;
+ }
+ while (isset($list_patches[$key]));
+
+ $list_patches[$key] = $patch;
}
}
ksort($list_patches);
$success = true;
- foreach ($list_patches as $v => $patches)
+ foreach ($list_patches as $patch)
{
- foreach ($patches as $patch)
- {
- if (!$patch->apply($this->id))
- $success = false;
- }
+ if (!$patch->apply($this->id))
+ $success = false;
}
return $success;
diff --git a/lib/classes/task/archive.class.php b/lib/classes/task/archive.class.php
index c13bebda2b..c7776da3ac 100644
--- a/lib/classes/task/archive.class.php
+++ b/lib/classes/task/archive.class.php
@@ -618,7 +618,8 @@ class task_archive extends phraseatask
function isIgnoredFile($f)
{
- return($f=='.' || $f=='..' || $f=='Thumbs.db' || $f=='par-SYSTEM' || substr($f, 0, 10)=='.com.apple');
+ $f = strtolower($f);
+ return(($f[0]=='.' && $f != '.phrasea.xml' && $f != '.grouping.xml') || $f=='thumbs.db' || $f=='par-system');
// return(substr($f,0,1)=='.' || $f=='Thumbs.db' || $f=='par-SYSTEM');
}
diff --git a/lib/version.inc b/lib/version.inc
index fdfeb7b1f9..a719fdd1dd 100644
--- a/lib/version.inc
+++ b/lib/version.inc
@@ -1,2 +1,2 @@
+ value="feed=/atom/cooliris/&glowColor=#0077BC&showReflections=false&showEmbed=false&showSearch=false&style=dark&backgroundColor=#000000&showChrome=false&showItemEmbed=false&showSearch=false" />