}
if(trim($_REQUEST["body"].$content.$pagedata["text"]) == '') {
- logger('facebook: empty body 2 '.$item->id.' '.print_r($item, true));
+ logger('facebook: empty body 1 '.$item->id.' '.print_r($item, true));
continue;
}
}
if(trim($_REQUEST["body"].$content.$pagedata["text"]) == '') {
- logger('facebook: empty body '.$item->id.' '.print_r($item, true));
+ logger('facebook: empty body 2 '.$item->id.' '.print_r($item, true));
continue;
}
.' '.substr($item->place->location->longitude, 0, 8);
}
+ if(trim($_REQUEST["body"]) == '') {
+ logger('facebook: empty body 3 '.$item->id.' '.print_r($item, true));
+ continue;
+ }
+
//print_r($_REQUEST);
logger('facebook: posting for user '.$uid);
item_post($a);