check_item_source: always log uid
This commit is contained in:
parent
c41c04cf11
commit
b47b917eb0
@ -3033,6 +3033,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent) {
|
|||||||
*/
|
*/
|
||||||
function check_item_source($uid, $item) {
|
function check_item_source($uid, $item) {
|
||||||
|
|
||||||
|
logger('source: uid: ' . $uid, LOGGER_DEBUG);
|
||||||
$xchan = (($item['source_xchan']) ? $item['source_xchan'] : $item['owner_xchan']);
|
$xchan = (($item['source_xchan']) ? $item['source_xchan'] : $item['owner_xchan']);
|
||||||
|
|
||||||
$r = q("select * from source where src_channel_id = %d and ( src_xchan = '%s' or src_xchan = '*' ) limit 1",
|
$r = q("select * from source where src_channel_id = %d and ( src_xchan = '%s' or src_xchan = '*' ) limit 1",
|
||||||
|
Reference in New Issue
Block a user