Skip to content

Commit

Permalink
Remove unnecessary brackets in if clause ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylian committed Dec 27, 2017
1 parent d8e210d commit 2c0591b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swipe_gestures.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ static function swipejs() {
break;
case 'news.php':
if (getOption('zp_plugin_zenpage')) {
if ((getOption('swipe_gestures_news')) && (!is_NewsArticle())) {
if (getOption('swipe_gestures_news') && !is_NewsArticle()) {
if(getPrevNewsPageURL()) {
$prevurl = getPrevNewsPageURL();
}
if(getNextNewsPageURL()) {
$nexturl = getNextNewsPageURL();
}
}
if ((getOption('swipe_gestures_news_single')) && (is_NewsArticle())) {
if (getOption('swipe_gestures_news_single') && is_NewsArticle()) {
if(getPrevNewsURL()) {
$prevurl = getPrevNewsURL();
$prevurl = $prevurl['link'];
Expand Down

0 comments on commit 2c0591b

Please sign in to comment.