https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #5719 from annando/notices-yeah
[friendica.git/.git]
/
mod
/
attach.php
diff --git
a/mod/attach.php
b/mod/attach.php
index
a04fba9
..
99f0fc4
100644
(file)
--- a/
mod/attach.php
+++ b/
mod/attach.php
@@
-32,7
+32,7
@@
function attach_init(App $a)
// Now we'll see if we can access the attachment
$r = q("SELECT * FROM `attach` WHERE `id` = '%d' $sql_extra LIMIT 1",
-
dbesc
($item_id)
+
DBA::escape
($item_id)
);
if (!DBA::isResult($r)) {