PMC-138 Assigned user lost in case of Custom Import (Promotion Manager)

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-11-01 12:28:55 -04:00
parent 4806c865f3
commit 3e3ef93816
21 changed files with 11650 additions and 47 deletions

View File

@@ -319,7 +319,12 @@ class Log_file extends Log
$request .= ($request!='' ? "\t" : '') . $k . '='.$v;
}
}
foreach( $_GET as $k => $v ) $request .= ($request!='' ? "\t" : '') . $k . '='.$v;
foreach ($_GET as $k => $v) {
if (is_array($v)) {
$v = json_encode($v);
}
$request .= ($request != '' ? "\t" : '') . $k . '=' . $v;
}
//exact time with microseconds
$t = explode(' ',microtime(false));