Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit da22628

Browse files
committed
„php/core/DataAccess.php“ ändern
1 parent 8c54d56 commit da22628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/core/DataAccess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public function setParams(string $time, string $rFrom, string $rTo, string $cats
7676
$this->cmdSemantical['names'] = $names;
7777
}
7878

79-
if(!empty($_POST["devices"]) && is_array($_POST["devices"])){
80-
$dev = implode(',', $_POST["devices"]);
79+
if(!empty($devices) && is_array($devices)){
80+
$dev = implode(',', $devices);
8181
if(preg_match('/^[A-Za-z0-9\-\,]+$/', $dev) === 1){
8282
$this->cmd[] = '-devices';
8383
$this->cmd[] = $dev;

0 commit comments

Comments
 (0)