diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 15:30:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 15:30:03 -0400 |
commit | 9f07921b45190b462e1a798622068e24ef31e124 (patch) | |
tree | 45ba802a5aa64c44faa4319749220e266f9cf1ee /scripts | |
parent | 041d2d82d3db92368913466869688cb5fa2554c8 (diff) | |
parent | a8d35451823b01c074d5417a138d4968331a8130 (diff) |
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
Diffstat (limited to 'scripts')
-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()); |