var empty check did not function as expected.
made script executable
This commit is contained in:
parent
0535b43944
commit
a8d3545182
2
scripts/fixup_utf8.php
Normal file → Executable file
2
scripts/fixup_utf8.php
Normal file → Executable file
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user