From a8d35451823b01c074d5417a138d4968331a8130 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Thu, 20 Aug 2009 14:25:50 -0500 Subject: [PATCH] var empty check did not function as expected. made script executable --- scripts/fixup_utf8.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/fixup_utf8.php diff --git a/scripts/fixup_utf8.php b/scripts/fixup_utf8.php old mode 100644 new mode 100755 index 8c9a9127fd..f952af8d39 --- a/scripts/fixup_utf8.php +++ b/scripts/fixup_utf8.php @@ -42,7 +42,7 @@ class UTF8FixerUpper { $this->args = $args; - if (array_key_exists('max_date', $args)) { + if (!empty($args['max_date'])) { $this->max_date = strftime('%Y-%m-%d %H:%M:%S', strtotime($args['max_date'])); } else { $this->max_date = strftime('%Y-%m-%d %H:%M:%S', time()); -- 2.39.5