Skip to content

Commit

Permalink
Fix file upload always blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
fappels committed Sep 16, 2019
1 parent 98a54c2 commit e264f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extdirect/class/extdirect.class.php
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion extdirect/core/modules/modExtDirect.class.php
Expand Up @@ -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);
Expand Down

0 comments on commit e264f12

Please sign in to comment.