From: vincent@cubedesigners.com Date: Wed, 11 Oct 2017 17:21:54 +0000 (+0000) Subject: #807 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c262e3f97f4c050ff476fed6abd6f81a9f93e947;p=cubeextranet.git #807 --- diff --git a/inc/ws/Controlleur/class.ws.maintenance.php b/inc/ws/Controlleur/class.ws.maintenance.php index b08d74417..d0e0bd5c0 100644 --- a/inc/ws/Controlleur/class.ws.maintenance.php +++ b/inc/ws/Controlleur/class.ws.maintenance.php @@ -1259,7 +1259,8 @@ class wsMaintenance { public static function resetPlayerVersion() { global $core; - $r = $core->con->select('SELECT book_id, parametres FROM books WHERE book_id NOT IN(10000,10003,15407)'); + $dev = [10000, 10003, 1540, 15571, 15837]; + $r = $core->con->select('SELECT book_id, parametres FROM books WHERE book_id NOT IN(' . implode(',', $dev) . ')'); $reset = []; $error = []; $skip = []; diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index fce22ec44..e243e5944 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -529,8 +529,8 @@ class wsHTML5Compiler { foreach ($svgfiles as $svgfile) { if (file_exists($svgfile)) { $svg .= file_get_contents($svgfile); - }else{ - die($svgfile.' does not exist'); + } else { + die($svgfile . ' does not exist'); } }