Skip to content
Permalink
Browse files

Fix regression on createAuthentication

  • Loading branch information
fappels committed Oct 9, 2019
1 parent ad9c4cb commit 3cbc5ea766ffeee37d4102fe15270d2cb15d002a
Showing with 1 addition and 1 deletion.
  1. +1 −1 extdirect/class/ExtDirectAuthenticate.class.php
@@ -65,11 +65,11 @@ public function createAuthentication($params)
{
$paramArray = ExtDirect::toArray($params);
foreach ($paramArray as &$param) {
if (!empty($param->ack_id)) return PARAMETERERROR;
$this->prepareAuthenticationFields($param);
dol_syslog(get_class($this)."::create webview name= ". $param->webview_name ." webview version= ". $param->webview_version, LOG_DEBUG);
// check if already acknowledged, return PARAMETERERROR if so
if (($resql = $this->fetch(0, $this->app_id)) < 0) return $resql;
if (!empty($this->ack_id)) return PARAMETERERROR;
if (empty($this->id)) {
// create user app record
$this->fk_user=null;

0 comments on commit 3cbc5ea

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