Skip to content

Commit

Permalink
fix: php 7.4 implode deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Jun 3, 2020
1 parent 34c8e9e commit b2b9497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/libraries/Fuel_pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ public function render_all_markers($output)
{
// clean out the tag and append them before the node
$output = $CI->fuel->page->remove_markers($matches[0]);
$output = implode($tagmatches[0], " ").$output;
$output = implode(" ", $tagmatches[0]).$output;
}
return $output;
};
Expand Down
4 changes: 2 additions & 2 deletions fuel/modules/fuel/libraries/Simplepie.php
Original file line number Diff line number Diff line change
Expand Up @@ -12621,8 +12621,8 @@ class SimplePie_Parse_Date
*/
public function __construct()
{
$this->day_pcre = '(' . implode(array_keys($this->day), '|') . ')';
$this->month_pcre = '(' . implode(array_keys($this->month), '|') . ')';
$this->day_pcre = '(' . implode(array_keys('|', $this->day)) . ')';
$this->month_pcre = '(' . implode(array_keys('|', $this->month)) . ')';

static $cache;
if (!isset($cache[get_class($this)]))
Expand Down

0 comments on commit b2b9497

Please sign in to comment.