api post broken with recent change to use REQUEST vars in mod_item

This commit is contained in:
friendica 2012-01-15 13:57:00 -08:00
commit e12341b716
3 changed files with 17 additions and 13 deletions

View file

@ -38,7 +38,7 @@ function item_post(&$a) {
call_hooks('post_local_start', $_REQUEST);
// logger('postinput ' . file_get_contents('php://input'));
logger('postvars' . print_r($_REQUEST,true), LOGGER_DATA);
logger('postvars ' . print_r($_REQUEST,true), LOGGER_DATA);
$api_source = ((x($_REQUEST,'api_source') && $_REQUEST['api_source']) ? true : false);
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');