protect from sql injection
This commit is contained in:
parent
3647b74d33
commit
2a26c898ca
@ -1663,7 +1663,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
|
|||||||
|
|
||||||
$ab = q("select * from abook where abook_channel = %d and abook_xchan = '%s'",
|
$ab = q("select * from abook where abook_channel = %d and abook_xchan = '%s'",
|
||||||
intval($channel['channel_id']),
|
intval($channel['channel_id']),
|
||||||
$arr['owner_xchan']
|
dbesc($arr['owner_xchan'])
|
||||||
);
|
);
|
||||||
$abook = (($ab) ? $ab[0] : null);
|
$abook = (($ab) ? $ab[0] : null);
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-09-01.1142
|
2015-09-02.1143
|
||||||
|
Reference in New Issue
Block a user