mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Issue #5079 - PHP Warning
This commit is contained in:
@@ -1029,9 +1029,12 @@ class page_admin_ui extends e_admin_ui
|
||||
|
||||
if($chap = $model->get('page_chapter'))
|
||||
{
|
||||
$model->set('chapter_sef', $this->chapters[$chap]['chapter_sef']);
|
||||
$parent = (int) $this->chapters[$chap]['chapter_parent'];
|
||||
$model->set('book_sef', $this->chapters[$parent]['chapter_sef']);
|
||||
if(isset($this->chapters[$chap]))
|
||||
{
|
||||
$model->set('chapter_sef', $this->chapters[$chap]['chapter_sef']);
|
||||
$parent = (int) $this->chapters[$chap]['chapter_parent'];
|
||||
$model->set('book_sef', $this->chapters[$parent]['chapter_sef']);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -404,7 +404,7 @@ class cron_admin_ui extends e_admin_ui
|
||||
elseif (!$active) // show instructions
|
||||
{
|
||||
$setpwd_message = $frm->open("generate")."<small>"
|
||||
.LAN_CRON_15.":</small><br /><pre style='color:black'>".e_ROOT."cron.php token=".$pref['e_cron_pwd'].' >/dev/null 2>&1';
|
||||
.LAN_CRON_15.":</small><br /><pre>".e_ROOT."cron.php token=".$pref['e_cron_pwd'].' >/dev/null 2>&1';
|
||||
|
||||
$setpwd_message .= "</pre><small>". LAN_CRON_16."</small>";
|
||||
if(e_DOMAIN && file_exists("/usr/local/cpanel/version"))
|
||||
|
Reference in New Issue
Block a user