summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.php b/main.php
index fc8bff8..c7c4866 100644
--- a/main.php
+++ b/main.php
@@ -54,7 +54,7 @@ Errors:
class gimsisextClient {
private $username;
private $password;
- public $version = array(0, 7, 2);
+ public $version = array(0, 7, 3);
private $programname = "gimsisextclient";
private $programdomain = 'gimsisextclient.gimb.tk';
private $cookiedir; // set at runtime, ker je get_curerent_user, v login()
@@ -518,10 +518,10 @@ Errors:
if ($tn->getAttribute("id") == "ctl00_ContentPlaceHolder1_gvwSporociloVrsta") {
$msg = array();
foreach ($tn->getElementsByTagName("tbody")[0]->getElementsByTagName("td") as $dn) {
- foreach($dn->getElementsByTagName('span') as $sn) {
+ foreach($dn->getElementsByTagName('div') as $sn) {
switch($sn->getAttribute("class")) {
case "msgSubjectS":
- $msg['zadeva'] = DOMinnerHTML($sn);
+ $msg['zadeva'] = str_replace("\n", null, str_replace("\r", null, str_replace(" ", null, DOMinnerHTML($sn))));
break;
}
}