wrong var name in add_source_route
This commit is contained in:
		| @@ -155,9 +155,9 @@ function can_comment_on_post($observer_xchan,$item) { | |||||||
|  |  | ||||||
|  |  | ||||||
| function add_source_route($iid,$hash) { | function add_source_route($iid,$hash) { | ||||||
| 	logger('add_source_route ' . $iid . ' ' . $hash, LOGGER_DEBUG); | //	logger('add_source_route ' . $iid . ' ' . $hash, LOGGER_DEBUG); | ||||||
|  |  | ||||||
| 	if((! $iid) || (! $route)) | 	if((! $iid) || (! $hash)) | ||||||
| 		return; | 		return; | ||||||
| 	$r = q("select route from item where id = %d limit 1", | 	$r = q("select route from item where id = %d limit 1", | ||||||
| 		intval($iid) | 		intval($iid) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user