Removed fitty.js, using manual font-size setting instead. Fixed valid/expired posts check.
This commit is contained in:
@@ -10,8 +10,8 @@ class Post extends \Core\Model
|
||||
[
|
||||
'id int(3) NOT NULL AUTO_INCREMENT',
|
||||
'category int(3) NOT NULL',
|
||||
'created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP',
|
||||
'valid_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP',
|
||||
'created_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
|
||||
'valid_at timestamp NOT NULL DEFAULT "00-00-00 00:00:00"',
|
||||
'expired_at timestamp NOT NULL',
|
||||
'creator int(3) NOT NULL',
|
||||
'edited_at timestamp',
|
||||
@@ -92,6 +92,7 @@ class Post extends \Core\Model
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$query = $db->prepare($sql);
|
||||
|
||||
if (count($conditions)) {
|
||||
|
||||
Reference in New Issue
Block a user