From 9b538462aa7ab6269e36a4192db86981c186b7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 4 Nov 2019 18:33:36 +0100 Subject: fixed typeo --- main.php | 8 ++++---- 1 file 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 +?> -- cgit v1.2.3