diff options
-rwxr-xr-x[-rw-r--r--] | scripts/fixup_utf8.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fixup_utf8.php b/scripts/fixup_utf8.php index 8c9a9127f..f952af8d3 100644..100755 --- 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()); |