Index: /freepbx/branches/2.3/amp_conf/htdocs/admin/config.php =================================================================== --- /freepbx/branches/2.3/amp_conf/htdocs/admin/config.php (revision 4623) +++ /freepbx/branches/2.3/amp_conf/htdocs/admin/config.php (revision 4628) @@ -400,11 +400,9 @@ if ($quietmode) { // send the output buffer - ob_end_flush(); + @ob_end_flush(); } else { $admin_template = $template = array(); - - $admin_template['content'] = ob_get_contents(); - ob_end_clean(); + @ob_end_clean(); // build the admin interface (with menu) Index: /freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php =================================================================== --- /freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php (revision 4623) +++ /freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php (revision 4628) @@ -1394,5 +1394,5 @@ function tagClosed($parser, $name) { - $this->arrOutput[count($this->arrOutput)-2]['children'][] = $this->arrOutput[count($this->arrOutput)-1]; + @$this->arrOutput[count($this->arrOutput)-2]['children'][] = $this->arrOutput[count($this->arrOutput)-1]; array_pop($this->arrOutput); } @@ -1401,5 +1401,5 @@ $array = array(); foreach (array_keys($items) as $idx) { - $items[$idx]['name'] = strtolower($items[$idx]['name']); + @$items[$idx]['name'] = strtolower($items[$idx]['name']); $multi = false; @@ -1869,5 +1869,5 @@ $extext .= sprintf(_("%s (current: %s)"), $mod['name'].' '.$mod['online_version'], $mod['local_version'])."\n"; } - $notifications->add_update('freepbx', 'NEWUPDATES', $text, $extext, '', $reset_value); + $notifications->add_update('freepbx', 'NEWUPDATES', $text, $extext, '', $passive_value); } else { $notifications->delete('freepbx', 'NEWUPDATES'); Index: /freepbx/branches/2.3/amp_conf/htdocs/admin/page.modules.php =================================================================== --- /freepbx/branches/2.3/amp_conf/htdocs/admin/page.modules.php (revision 4450) +++ /freepbx/branches/2.3/amp_conf/htdocs/admin/page.modules.php (revision 4628) @@ -17,4 +17,7 @@ // can't go online if external management is on $online = (isset($_REQUEST['online']) && !EXTERNAL_PACKAGE_MANAGEMENT) ? $_REQUEST['online'] : false; +// fix php errors from undefined variable. Not sure if we can just change the reference below to use +// online since it changes values so just setting to what we decided it is here. +$_REQUEST['online'] = $online ? 1 : 0; $moduleaction = isset($_REQUEST['moduleaction'])?$_REQUEST['moduleaction']:false; /*