file as widget and basic filing implementation for duepuntozero,slackr
much more work needed - this is just for test/evaluation currently
This commit is contained in:
@@ -1294,7 +1294,7 @@ function file_tag_save_file($uid,$item,$file) {
|
||||
if(count($r)) {
|
||||
if(! stristr($r[0]['file'],'[' . file_tag_encode($file) . ']'))
|
||||
q("update item set file = '%s' where id = %d and uid = %d limit 1",
|
||||
dbesc($r[0]['file'] . '[' . $file_tag_encode($file) . ']'),
|
||||
dbesc($r[0]['file'] . '[' . file_tag_encode($file) . ']'),
|
||||
intval($item),
|
||||
intval($uid)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user