1
0
Fork 0

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:
friendica 2012-03-13 18:13:03 -07:00
commit be48fff157
11 changed files with 101 additions and 4 deletions

View file

@ -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)
);