Skip to content

Commit

Permalink
fix GeoCacheRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
teiling88 committed Mar 30, 2018
1 parent ee23a8c commit c661c4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function fetchGCWaypoint($waypoint)
$queryBuilder = $this->connection->createQueryBuilder()
->select('*')
->from(self::TABLE)
->where("IFELSE(wp_gc_maintained = '', wp_gc, g.wp_gc_maintained) = :waypoint")
->where("IF(wp_gc_maintained = '', wp_gc, wp_gc_maintained) = :waypoint")
->setParameter(':waypoint', $waypoint)
->setMaxResults(1);

Expand Down

0 comments on commit c661c4a

Please sign in to comment.