From c262e3f97f4c050ff476fed6abd6f81a9f93e947 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 11 Oct 2017 17:21:54 +0000 Subject: [PATCH] #807 --- inc/ws/Controlleur/class.ws.maintenance.php | 3 ++- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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'); } } -- 2.39.5