Small change to make the PHP engine happy

This commit is contained in:
pikami 2017-04-02 12:03:40 +00:00
parent b37b3264d7
commit 7d3230f1d5
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ if(GetUsersIDBySession($_COOKIE["pp_sid"],$_COOKIE["pp_skey"]) == -1){
die();
}
$stmt = $conn->prepare('SELECT * FROM pastes WHERE owner=:own');
$stmt->bindParam(':own', GetUsersIDBySession($_COOKIE["pp_sid"],$_COOKIE["pp_skey"]));
$own = GetUsersIDBySession($_COOKIE["pp_sid"],$_COOKIE["pp_skey"]);
$stmt->bindParam(':own', $own);
$stmt->execute();
if($stmt->rowCount()>0){
echo "<table id=\"tablepastes\" class=\"table table-striped\" style=\"width:100%\">";