]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/frio_boot.php
Merge pull request #3797 from rabuzarus/20171015_-_duplicate_event
[friendica.git] / view / theme / frio / php / frio_boot.php
index 17fbb1fbac85a3433fd4e1ad9a3a1720010e4735..91e0f6ff357afb686d1f315da654cda2d279e471 100644 (file)
@@ -15,9 +15,9 @@ use Friendica\App;
  * @todo Check if this is really needed.
  */
 function load_page(App $a) {
-       if(isset($_GET["mode"]) AND ($_GET["mode"] == "minimal")) {
+       if(isset($_GET["mode"]) && ($_GET["mode"] == "minimal")) {
                require "view/theme/frio/minimal.php";
-       } elseif((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) {
+       } elseif((isset($_GET["mode"]) && ($_GET["mode"] == "none"))) {
                require "view/theme/frio/none.php";
        } else {
                $template = 'view/theme/' . current_theme() . '/'