another quick patch

This commit is contained in:
flash 2015-10-10 23:41:25 +02:00
parent 17b88a21d9
commit 41150ec37b

View file

@ -115,7 +115,7 @@ if (isset($_REQUEST['request-notifications']) && $_REQUEST['request-notification
}
$comments->makeVote(
$currentUser->data['id'],
$currentUser->data['user_id'],
isset($_REQUEST['id']) ? $_REQUEST['id'] : 0,
isset($_REQUEST['state']) && $_REQUEST['state'] ? '1' : '0'
);