You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -316,6 +316,10 @@ public function setArgument($arg) {
publicfunctionquery($group_by = FALSE) {
// if the User has not this permission simply return as nothing was sent.
if ($this->currentUser->isAnonymous() || (!$this->currentUser->hasPermission('execute Image ML queries') && !$this->currentUser->hasRole('administrator'))) {
return;
}
$this->argument_validated;
if (empty($this->expanded_argument) || ! $this->query) {
// basically not validated, not present as a value and also someone cancelled/nuklled the query before?