Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
bugfix in page_funnel_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
patkon committed Jan 30, 2018
1 parent d312e28 commit 80119a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/functions/func_get_content.php
Expand Up @@ -124,8 +124,9 @@ function fc_check_funnel_uri($uri) {
$sth = $dbh->prepare($page_sql);
$sth->bindValue(':uri', "%$uri%", PDO::PARAM_STR);
$sth->execute();
$page = $sth->fetch(PDO::FETCH_ASSOC);

$pages = $sth->fetchAll(PDO::FETCH_ASSOC);

foreach($pages as $page) {
$page_funnel_uri = explode(',', $page['page_funnel_uri']);
foreach($page_funnel_uri as $u) {

Expand All @@ -136,7 +137,7 @@ function fc_check_funnel_uri($uri) {
}

}
}


}
Expand Down

0 comments on commit 80119a6

Please sign in to comment.