mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
fixed attachment download bug
This commit is contained in:
@ -151,7 +151,7 @@ class ModelSearchMessage extends Model {
|
||||
fclose($sd);
|
||||
}
|
||||
else {
|
||||
$handle = popen(DECRYPT_BINARY . " $id", "r");
|
||||
$handle = popen(DECRYPT_ATTACHMENT_BINARY . " $piler_id $attachment_id", "r");
|
||||
while(($buf = fread($handle, DECRYPT_BUFFER_LENGTH))){
|
||||
$data .= $buf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user