summaryrefslogtreecommitdiff
path: root/scripts/fixup_utf8.php
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-08-20 14:25:50 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-08-20 14:25:50 -0500
commita8d35451823b01c074d5417a138d4968331a8130 (patch)
tree6586e28903e234f392304520702ef3137d7a1c12 /scripts/fixup_utf8.php
parent0535b439445cdfbbefb4fe2b22d4791260e2adec (diff)
var empty check did not function as expected.
made script executable
Diffstat (limited to 'scripts/fixup_utf8.php')
-rwxr-xr-x[-rw-r--r--]scripts/fixup_utf8.php2
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());