|
@@ -1023,7 +1023,7 @@ |
|
|
block discarded – undo |
|
1023
|
1023
|
); |
|
1024
|
1024
|
} |
|
1025
|
1025
|
$url = "/private/notes/upload.php?ACTION=ADD_NOTE&ELEMENT_ID={$this->id}&ELEMENT_TYPE={$elementType}&fileapi" . |
|
1026
|
|
- str_replace('.', '', microtime(true)); |
|
|
1026
|
+ str_replace('.', '', microtime(true)); |
|
1027
|
1027
|
$res = AmoCRM::cUrl($url, $post, null, true); |
|
1028
|
1028
|
if ($res !== null && isset($res->status) && $res->status === 'fail') { |
|
1029
|
1029
|
throw new AmoWrapException('Не удалось добавить файл'); |
Please login to merge, or discard this patch.