]> _ Git - cubeextranet.git/commitdiff
#807
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 11 Oct 2017 17:21:54 +0000 (17:21 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 11 Oct 2017 17:21:54 +0000 (17:21 +0000)
inc/ws/Controlleur/class.ws.maintenance.php
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index b08d74417b5b0d59f691e10765701e98ea6292c4..d0e0bd5c02bb01869920e3516671c607862c2a0d 100644 (file)
@@ -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 = [];
index fce22ec44ef836d954d3cb56391264750e56a119..e243e5944e4dbb6eb6d170b1ad261a5170a56ad2 100644 (file)
@@ -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');
                        }
                }