BUG 9778 al ingresar a la pestañhange log aparece una advertencia, sucede en los tres servidores de cada espacio de trabajo SOLVED

- Missing validation when DYN_UID is not sent
- Add validation when DYN_UID is not sent
This commit is contained in:
Julio Cesar Laura
2012-09-17 18:03:37 -04:00
parent d4c51dcade
commit 771055498c
2 changed files with 8 additions and 4 deletions

View File

@@ -201,9 +201,11 @@ class Main extends Controller
//get date of next beat
$nextBeatDate = $oServerConf->getHeartbeatProperty('HB_NEXT_BEAT_DATE','HEART_BEAT_CONF');
$this->memcache->set('nextBeatDate', $nextBeatDate, 1*3600);
} else {
$sflag = '1';
}
if (($sflag == 1) && ((strtotime("now") > $nextBeatDate) || is_null($nextBeatDate))) {
if (($sflag == '1') && ((strtotime("now") > $nextBeatDate) || is_null($nextBeatDate))) {
//To do: we need to change to ExtJs
$this->setJSVar('flagHeartBeat', 1);
} else {