Plugin Directory

Changeset 741699


Ignore:
Timestamp:
07/16/2013 02:01:00 PM (13 years ago)
Author:
websitezcom
Message:

Fixing error on activation

Location:
wp-mobile-detector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-mobile-detector/tags/1.7.9/functions.php

    r741101 r741699  
    420420    if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"):
    421421        $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
    422         if($monetization == "false"){
     422        if($monetization == "false"):
    423423            $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
    424424            $date = date("Y-m-d H:i:s", $time);
     
    428428            endif;
    429429        endif;
    430     }
     430    endif;
    431431}
    432432
  • wp-mobile-detector/trunk/functions.php

    r741101 r741699  
    420420    if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"):
    421421        $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);
    422         if($monetization == "false"){
     422        if($monetization == "false"):
    423423            $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));
    424424            $date = date("Y-m-d H:i:s", $time);
     
    428428            endif;
    429429        endif;
    430     }
     430    endif;
    431431}
    432432
Note: See TracChangeset for help on using the changeset viewer.