mirror of
https://github.com/getgrav/grav.git
synced 2026-02-21 22:18:03 +01:00
PSR fixes
This commit is contained in:
@@ -198,7 +198,7 @@ class Assets
|
||||
|
||||
// Strip query from pathinfo extension
|
||||
$query_pos = strpos($extension, '?');
|
||||
if ($query_pos !== FALSE) {
|
||||
if ($query_pos !== false) {
|
||||
$extension = substr($extension, 0, $query_pos);
|
||||
}
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@ class Page
|
||||
$content = $this->content();
|
||||
|
||||
// Return summary based on settings in site config file
|
||||
if (!$config->get('site.summary.enabled', TRUE)) {
|
||||
if (!$config->get('site.summary.enabled', true)) {
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user