PM-1405 Al guardar los cambios en el Heart Beat de despliega el mensaje "Error"

Se declaro la variable $response
This commit is contained in:
norahmollo
2015-02-10 13:52:05 -04:00
parent b75c5befa5
commit 8c40c581cd

View File

@@ -5,7 +5,7 @@ switch ($_GET['action']) {
try { try {
G::LoadClass( 'serverConfiguration' ); G::LoadClass( 'serverConfiguration' );
$oServerConf = & serverConf::getSingleton(); $oServerConf = & serverConf::getSingleton();
$response = new $oServerConf; $response = new stdclass();
/*you can use SYS_TEMP or SYS_SYS ON HEAR_BEAT_CONF to save for each workspace*/ /*you can use SYS_TEMP or SYS_SYS ON HEAR_BEAT_CONF to save for each workspace*/
$oServerConf->unsetHeartbeatProperty( 'HB_BEAT_TYPE', 'HEART_BEAT_CONF' ); $oServerConf->unsetHeartbeatProperty( 'HB_BEAT_TYPE', 'HEART_BEAT_CONF' );
if (isset( $_POST['acceptHB'] )) { if (isset( $_POST['acceptHB'] )) {