mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add a list of vote user
This commit is contained in:
parent
2535dcec6b
commit
4c7ce6a380
5 changed files with 93 additions and 2 deletions
|
|
@ -1289,8 +1289,14 @@ class documentController extends document
|
|||
*/
|
||||
function updateVotedCount($document_srl, $point = 1)
|
||||
{
|
||||
if($point > 0) $failed_voted = 'failed_voted';
|
||||
else $failed_voted = 'failed_blamed';
|
||||
if($point > 0)
|
||||
{
|
||||
$failed_voted = 'failed_voted';
|
||||
}
|
||||
else
|
||||
{
|
||||
$failed_voted = 'failed_blamed';
|
||||
}
|
||||
// Return fail if session already has information about votes
|
||||
if($_SESSION['voted_document'][$document_srl])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue