show like/dislike when no comments yet, bit of lint
This commit is contained in:
parent
a90e5f438b
commit
b3856a797b
4 changed files with 80 additions and 49 deletions
|
|
@ -87,7 +87,7 @@ function pubsub_post(&$a) {
|
|||
$xml = file_get_contents('php://input');
|
||||
|
||||
logger('pubsub: feed arrived from ' . $_SERVER['REMOTE_ADDR'] . ' for ' . $a->cmd );
|
||||
logger('pubsub: data: ' . $xml, $LOGGER_DATA);
|
||||
logger('pubsub: data: ' . $xml, LOGGER_DATA);
|
||||
|
||||
$nick = (($a->argc > 1) ? notags(trim($a->argv[1])) : '');
|
||||
$contact_id = (($a->argc > 2) ? intval($a->argv[2]) : 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue