Fix bad JavaScript if session_time_left not set.

This commit is contained in:
Markus Birth 2016-07-09 19:11:04 +02:00
parent 05af55e265
commit 96306e89f0

View File

@ -9,7 +9,9 @@ $m = new Mustache_Engine(array(
'logger' => new Mustache_Logger_StreamLogger('php://stderr'), 'logger' => new Mustache_Logger_StreamLogger('php://stderr'),
)); ));
$data = array(); $data = array(
'session_time_left' => 0,
);
$client = new Google_Client(); $client = new Google_Client();
$client->setAuthConfigFile('client_secret.json'); $client->setAuthConfigFile('client_secret.json');