summaryrefslogtreecommitdiffstats
path: root/main.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2019-11-04 18:33:36 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2019-11-04 18:33:36 +0100
commit9b538462aa7ab6269e36a4192db86981c186b7b6 (patch)
tree7da63073aef920a431ab96cac69099e790f1baa0 /main.php
parentfirst commit (diff)
downloadgimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar.gz
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar.bz2
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar.lz
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar.xz
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.tar.zst
gimsisextclient-9b538462aa7ab6269e36a4192db86981c186b7b6.zip
Diffstat (limited to 'main.php')
-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
+?>