diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-10-18 12:39:13 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-10-18 12:39:13 +0200 |
commit | e9ca17cec14c5a702cc7d656e5206a3c086dd550 (patch) | |
tree | 0770b4274c0e109056199db55429b0801b3ce60c /Zotlabs/Module/Cloud_tiles.php | |
parent | f70956964be5792be296a4e3ec1889a4be2fd475 (diff) | |
download | volse-hubzilla-e9ca17cec14c5a702cc7d656e5206a3c086dd550.tar.gz volse-hubzilla-e9ca17cec14c5a702cc7d656e5206a3c086dd550.tar.bz2 volse-hubzilla-e9ca17cec14c5a702cc7d656e5206a3c086dd550.zip |
fix php warnings
Diffstat (limited to 'Zotlabs/Module/Cloud_tiles.php')
-rw-r--r-- | Zotlabs/Module/Cloud_tiles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Cloud_tiles.php b/Zotlabs/Module/Cloud_tiles.php index da551904f..9ec050c20 100644 --- a/Zotlabs/Module/Cloud_tiles.php +++ b/Zotlabs/Module/Cloud_tiles.php @@ -6,7 +6,7 @@ class Cloud_tiles extends \Zotlabs\Web\Controller { function init() { - if(intval($_SESSION['cloud_tiles'])) + if(isset($_SESSION['cloud_tiles']) && intval($_SESSION['cloud_tiles'])) $_SESSION['cloud_tiles'] = 0; else $_SESSION['cloud_tiles'] = 1; @@ -18,4 +18,4 @@ class Cloud_tiles extends \Zotlabs\Web\Controller { goaway(z_root() . '/' . hex2bin(argv(1))); } -}
\ No newline at end of file +} |