diff --git a/extdirect/class/extdirect.class.php b/extdirect/class/extdirect.class.php index 3ece615..59067fb 100644 --- a/extdirect/class/extdirect.class.php +++ b/extdirect/class/extdirect.class.php @@ -690,7 +690,7 @@ public static function readOptionalModel($object) */ public static function fileUpload($param, $dir) { - global $maxwidthsmall, $maxheightsmall, $maxwidthmini, $maxheightmini, $quality; + global $conf, $maxwidthsmall, $maxheightsmall, $maxwidthmini, $maxheightmini, $quality; $response = array( 'success' => false, diff --git a/extdirect/core/modules/modExtDirect.class.php b/extdirect/core/modules/modExtDirect.class.php index 0023eb2..8ffffae 100644 --- a/extdirect/core/modules/modExtDirect.class.php +++ b/extdirect/core/modules/modExtDirect.class.php @@ -61,7 +61,7 @@ function __construct($db) // not found (where XXX is value of numeric property 'numero' of module) $this->description = "Connect to external applications which use Sencha Ext.direct"; // Possible values for version are: 'development', 'experimental', 'dolibarr' or version - $this->version = '1.0.50'; + $this->version = '1.0.51'; // Key used in llx_const table to save module status enabled/disabled // (where MYMODULE is value of property name of module in uppercase) $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);