From e84c41b3e875168469fec1e9d5661e4bc0d49987 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 18 Sep 2020 12:36:24 +0000 Subject: [PATCH] wait #3895 @0.5 --- inc/commons/DAO/class.common.dao.entreprise.php | 2 +- inc/ws/Util/html5/master/class.ws.html5.links.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/commons/DAO/class.common.dao.entreprise.php b/inc/commons/DAO/class.common.dao.entreprise.php index 44d8a4dc1..cac603078 100644 --- a/inc/commons/DAO/class.common.dao.entreprise.php +++ b/inc/commons/DAO/class.common.dao.entreprise.php @@ -196,7 +196,7 @@ class commonDAOEntreprise extends commonDAO public function supprime($entreprise_id) { - global $core;: + global $core; $this->con->execute('DELETE FROM e2_u WHERE entreprise=\'' . $this->con->escape($entreprise_id) . '\''); $this->con->execute('DELETE FROM e2_c WHERE entreprise_id=\'' . $this->con->escape($entreprise_id) . '\''); $core->refreshWSUsersTree(); diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 7c38cf506..35231b8d6 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -2085,7 +2085,7 @@ class zoomLink extends normalLink $y = $attributes['y']; $w = $attributes['width']; $h = $attributes['height']; - $bookwidth = round($compiler->book->parametres->width); + $bookwidth = round($compiler->width); //error_log("--- Book Width: $bookwidth ---"); -- 2.39.5