Skip to content
Permalink
Browse files

Fix file upload always blocked

  • Loading branch information
fappels committed Sep 16, 2019
1 parent 98a54c2 commit e264f12afda6a7088726ddd777871d10ea7925aa
Showing with 2 additions and 2 deletions.
  1. +1 −1 extdirect/class/extdirect.class.php
  2. +1 −1 extdirect/core/modules/modExtDirect.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,
@@ -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);

0 comments on commit e264f12

Please sign in to comment.
You can’t perform that action at this time.