summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/objects/obj.SpremenljivkaSkala.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/survey/classes/objects/obj.SpremenljivkaSkala.php')
-rw-r--r--admin/survey/classes/objects/obj.SpremenljivkaSkala.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/survey/classes/objects/obj.SpremenljivkaSkala.php b/admin/survey/classes/objects/obj.SpremenljivkaSkala.php
index da020ad..be14205 100644
--- a/admin/survey/classes/objects/obj.SpremenljivkaSkala.php
+++ b/admin/survey/classes/objects/obj.SpremenljivkaSkala.php
@@ -133,9 +133,11 @@ class SpremenljivkaSkala {
* @return (Intiger) $this->skala
*/
function getSkala() {
- if ((int)$skala >= 0) {
+
+ if ((int)$this->skala >= 0) {
return $this->skala;
}
+
return NULL;
}