Popravek errorja pri predogledu vprasanja, ce je vklopljena randomizacija itemov
This commit is contained in:
parent
4a5b6a010f
commit
e8c3008974
@ -170,6 +170,10 @@ class Model
|
|||||||
|
|
||||||
if ($order == '') $order = '1';
|
if ($order == '') $order = '1';
|
||||||
|
|
||||||
|
|
||||||
|
// Ce nismo v admin vmesniku (preview) ne shranjujemo vrstnega reda
|
||||||
|
if(!isset($_GET['a']) || $_GET['a'] != 'preview_spremenljivka'){
|
||||||
|
|
||||||
// Shranimo vrstni red ce imamo random
|
// Shranimo vrstni red ce imamo random
|
||||||
if($randomsort){
|
if($randomsort){
|
||||||
|
|
||||||
@ -199,6 +203,8 @@ class Model
|
|||||||
|
|
||||||
SurveyAdvancedParadataLog::getInstance()->logData($event_type, $event, $data);
|
SurveyAdvancedParadataLog::getInstance()->logData($event_type, $event, $data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return $order;
|
return $order;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user