diff --git a/app/cron/IarMonitor.php b/app/cron/IarMonitor.php index aaa3ffb..1755ea5 100644 --- a/app/cron/IarMonitor.php +++ b/app/cron/IarMonitor.php @@ -54,7 +54,7 @@ class IarMonitor extends CronJob $statementUpdate = $this->app->db()->prepare('UPDATE mcp_iar_state SET state = ?, created = ? WHERE userID = ?'); $statementUpdate->execute([2, time(), $row['userID']]); - Util::sendInworldIM("00000000-0000-0000-0000-000000000000", $row['userID'], "Inventory", $this->app->config('grid')['homeurl'], "Deine IAR ist fertig zum Download: https://".$this->app->config('domain').'/index.php?api=downloadIar&id='.substr($row['iarfilename'], 0, strlen($row['iarfilename']) - 4)); + Util::sendInworldIM("00000000-0000-0000-0000-000000000000", $row['userID'], "Inventory", $this->app->config('grid')['homeurl'], "Deine IAR ist fertig zum Download: https://".$this->app->config('domain').'/index.php?api=downloadIar&id='.substr($row['iarfilename'], 0, strlen($row['iarfilename']) - 4).' , sie ist mit dem Passwort "password" geschützt.'); } } } diff --git a/app/page/Profile.php b/app/page/Profile.php index 5101af6..86cbda4 100644 --- a/app/page/Profile.php +++ b/app/page/Profile.php @@ -34,7 +34,7 @@ class Profile extends \Mcp\RequestHandler $iarRunning = true; } else { - $tpl->unsafeVar('iar-message', '
Du kannst dir deine IAR (erstellt am '.date('d.m.Y', $row['created']).') hier herunterladen.
'); + $tpl->unsafeVar('iar-message', '
Du kannst dir deine IAR (erstellt am '.date('d.m.Y', $row['created']).') hier herunterladen. Sie ist mit dem Passwort password geschützt.
'); } } $statementIARCheck->closeCursor();