Changeset 261 for quests/npc_form.php


Ignore:
Timestamp:
Jan 22, 2008, 6:01:34 PM (17 years ago)
Author:
maron
Message:

opravy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/npc_form.php

    r251 r261  
    88    $LineAJ = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_text Where Language = '0' AND entry = '".$Line['entry']."'"));
    99    $LineUser = mysql_fetch_array($Database->SQLCommand("SELECT * FROM user Where id = '".$Line['User']."'"));
    10     $LineVote = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_vote WHERE IDuser = ".$_SESSION['UserID']." AND IDnpc = $npc_ID"));
     10    $LineVote = mysql_fetch_array($Database->SQLCommand("SELECT * FROM npc_vote WHERE IDuser = '".@$_SESSION['UserID']."' AND IDnpc = $npc_ID"));
    1111 
    1212     
Note: See TracChangeset for help on using the changeset viewer.