backport bugfixes from current master

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-19 18:05:40 +01:00
parent 23a1a55bf2
commit 261d6e7d76
5 changed files with 12 additions and 5 deletions

View File

@@ -50,7 +50,8 @@ if ($page == 'cronjobs' || $page == 'overview') {
while ($row = $result_stmt->fetch(PDO::FETCH_ASSOC)) {
if ($cmod != $row['module']) {
$module = ucfirst(explode("/", $row['module'])[1]);
$_mod = explode("/", $row['module']);
$module = ucfirst($_mod[1]);
eval("\$crons.=\"" . getTemplate('cronjobs/cronjobs_cronjobmodule') . "\";");
$cmod = $row['module'];
}