Skip to content
Snippets Groups Projects
Commit 7cf7538d authored by llaffont's avatar llaffont
Browse files

Remove warning:

HP Warning:  Illegal string offset 'date' in /var/www/html/vhosts/opac2/www/php/opacce/cosmogramme/php/web_services/temps_reel_pergame.php on line 2\
14
parent ad05b5d1
Branches
Tags
1 merge request!258Dev/13872 Orphee Allow Hold Available Items
......@@ -211,7 +211,7 @@ function setConnect()
// Maj stats du jour
$charge_jour=@file_get_contents(FICHIER_JOUR);
if($charge_jour) $charge_jour=unserialize($charge_jour);
if($charge_jour["date"] != date("d-m-Y"))
if (!isset($charge_jour["date"]) || ($charge_jour["date"] != date("d-m-Y")))
{
$charge_jour=array("busy" => 0,"ok" => 0);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment