@@ -49,6 +47,7 @@ class="col-md-1 logoHeading">getI class="col-md-4 pageHeading">getDef('heading_title'); ?> link('Manufacturers&' . $form_action . $variable)); if ($form_action == 'Update') echo HTML::hiddenField('manufacturers_id', HTML::sanitize($_GET['mID'])); echo HTML::button($CLICSHOPPING_Manufacturers->getDef('button_cancel'), null, $CLICSHOPPING_Manufacturers->link('Manufacturers&page=' . $page . $variable), 'warning') . ' '; @@ -61,7 +60,7 @@ class="col-md-4 pageHeading">
db->prepare('select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, @@ -84,6 +83,8 @@ class="col-md-4 pageHeading"> $Qmanufacturers->bindInt(':manufacturers_id', $_GET['mID']); $Qmanufacturers->execute(); + $manufacturers = $Qmanufacturers->fetch(); + $mInfo = new ObjectInfo($Qmanufacturers->toArray()); } else { $mInfo = new ObjectInfo(array()); diff --git a/includes/ClicShopping/Sites/ClicShoppingAdmin/HTMLOverrideAdmin.php b/includes/ClicShopping/Sites/ClicShoppingAdmin/HTMLOverrideAdmin.php index d73f9dc1b..ee582ebdd 100644 --- a/includes/ClicShopping/Sites/ClicShoppingAdmin/HTMLOverrideAdmin.php +++ b/includes/ClicShopping/Sites/ClicShoppingAdmin/HTMLOverrideAdmin.php @@ -14,7 +14,7 @@ use ClicShopping\OM\HTML; use ClicShopping\OM\Registry; use ClicShopping\OM\CLICSHOPPING; - use ClicShopping\OM\Language; + use ClicShopping\OM\HTTP; class HTMLOverrideAdmin extends HTML { @@ -68,7 +68,7 @@ public static function getCkeditorLanguage() :string */ private static function getElFinderConnector() :string { - $connector = '../ext/elFinder-master/php/connector.minimal.php'; + $connector = HTTP::getShopUrlDomain() . 'ext/elFinder-master/php/connector.minimal.php'; return $connector; }