Skip to content

Commit

Permalink
Auto Commit - phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 19, 2024
1 parent 2a6d351 commit 39fda9e
Show file tree
Hide file tree
Showing 2 changed files with 453 additions and 398 deletions.
2 changes: 1 addition & 1 deletion zb_system/function/lib/base/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function Time($s = 'Y-m-d H:i:s', $type = 'PostTime')
}
if (func_num_args() == 2 && !array_key_exists($type, $this->data) && array_key_exists($s, $this->data)) {
list($type, $s) = array($s, $type);
} elseif (func_num_args() == 1 && array_key_exists($s, $this->data)){
} elseif (func_num_args() == 1 && array_key_exists($s, $this->data)) {
list($type, $s) = array($s, 'Y-m-d H:i:s');
}
if (array_key_exists($type, $this->data)) {
Expand Down
Loading

0 comments on commit 39fda9e

Please sign in to comment.