summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/class.HashUrl.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-05-27 13:08:29 +0200
commit75160b12821f7f4299cce7f0b69c83c1502ae071 (patch)
tree27e25e4ccaef45f0c58b22831164050d1af1d4db /admin/survey/classes/class.HashUrl.php
parentprvi-commit (diff)
download1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst
1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip
Diffstat (limited to 'admin/survey/classes/class.HashUrl.php')
-rw-r--r--admin/survey/classes/class.HashUrl.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/admin/survey/classes/class.HashUrl.php b/admin/survey/classes/class.HashUrl.php
index 1c4e536..b2f37a1 100644
--- a/admin/survey/classes/class.HashUrl.php
+++ b/admin/survey/classes/class.HashUrl.php
@@ -152,12 +152,13 @@ class HashUrl
public function setPage($string)
{
- if ($string == HashUrl::PAGE_ANALYSIS)
- {
+ if ($string == HashUrl::PAGE_ANALYSIS){
$this->_hash_page = HashUrl::PAGE_ANALYSIS;
}
- else
- {
+ elseif($string == 'data_nijz'){
+ $this->_hash_page = 'data_nijz';
+ }
+ else{
$this->_hash_page = HashUrl::PAGE_DATA;
}
}