Skip to content

Commit 96f509b

Browse files
committed
date format error fixed
1 parent 1b00771 commit 96f509b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Models/Taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function getFormattedModDateAttribute() {
143143
if ( ! isset( $this->attributes['id'] ) ) {
144144
return '';
145145
}
146-
if ( ! $this->attributes['mod_date'] ) {
146+
if ( ! isset($this->attributes['mod_date']) ) {
147147
return '';
148148
}
149149

0 commit comments

Comments
 (0)