From 83d2557ee4a1b0af4d601feadbe805925be10564 Mon Sep 17 00:00:00 2001
From: kent1 <kent1@arscenic.info>
Date: Tue, 1 Nov 2016 12:48:41 +0000
Subject: [PATCH] =?UTF-8?q?Pas=20test=C3=A9=20mais=20semble=20un=20code=20?=
 =?UTF-8?q?erron=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc/invalideur.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc/invalideur.php b/ecrire/inc/invalideur.php
index e73ed1e420..890b02aefd 100644
--- a/ecrire/inc/invalideur.php
+++ b/ecrire/inc/invalideur.php
@@ -203,8 +203,8 @@ function purger_repertoire($dir, $options = array()) {
 		} else {
 			if (is_dir($chemin)) {
 				$opts = $options;
-				if (isset($otpions['limit'])) {
-					$otps['limit'] = $otpions['limit'] - $total;
+				if (isset($options['limit'])) {
+					$opts['limit'] = $options['limit'] - $total;
 				}
 				$total += purger_repertoire($chemin, $opts);
 				if (isset($options['subdir']) && $options['subdir']) {
-- 
GitLab