Browse Source

[FIX] correct attachment

experimental
Georgi Hristov 3 years ago
parent
commit
adfd486f1f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/Utils/Attachment/AttachmentCommon_0.php

+ 1
- 1
modules/Utils/Attachment/AttachmentCommon_0.php View File

@@ -103,7 +103,7 @@ class Utils_AttachmentCommon extends ModuleCommon {

$old_user = Acl::get_user();
if($old_user!=$user) Acl::set_user($user);
$id = Utils_RecordBrowserCommon::new_record('utils_attachment',array('local'=>$group,'note'=>$note,'permission'=>$permission,'func'=>serialize($func),'args'=>serialize($args),'sticky'=>$sticky?1:0,'title'=>$note_title,'crypted'=>$crypted?1:0));
$id = Utils_RecordBrowserCommon::new_record('utils_attachment',array('attached_to'=>$group,'note'=>$note,'permission'=>$permission,'func'=>serialize($func),'args'=>serialize($args),'sticky'=>$sticky?1:0,'title'=>$note_title,'crypted'=>$crypted?1:0));
if($old_user!=$user) Acl::set_user($old_user);

if($file)


Loading…
Cancel
Save