summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.php b/main.php
index c8cc4d0..cbcf91a 100644
--- a/main.php
+++ b/main.php
@@ -53,7 +53,7 @@ Errors:
class gimsisextClient {
private $username;
private $password;
- public $version = array(0, 5, 11);
+ public $version = array(0, 5, 13);
private $programname = "gimsisextclient";
private $programdomain = 'gimsisextclient.gimb.tk';
private $cookiedir; // set at runtime, ker je get_curerent_user, v login()
@@ -179,12 +179,12 @@ Errors:
$razred = $desc[2];
$profa = $desc[3];
$mesto = $desc[4];
- $urnik[$dan][$ura] = array(
+ $urnik[intval($dan)][intval($ura)] = array(
"predmet" => $predmet,
"kratica" => $kratica,
"razred" => $razred,
"profesor" => $profa,
- "ucilinca" => $mesto
+ "prostor" => $mesto
);
}
}
@@ -684,4 +684,4 @@ Errors:
return $izostanki;
}
}
-?> \ No newline at end of file
+?>