Commit 46f596a075ada9a0744f83aa9528161f7388a6c1
1 parent
9f477c3a
Minor fix
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
news.php
... | ... | @@ -29,7 +29,7 @@ while ($row = mysql_fetch_assoc($resultat)) { |
29 | 29 | echo '<div class="panel-heading">'; |
30 | 30 | echo '<h3 class="panel-title">'.$row['title']; |
31 | 31 | if(isset($_SESSION["admin"])&&$_SESSION["admin"]) |
32 | - echo '<a href="#" onclick="editNews('.$row["pk".')" class="glyphicon glyphicon-pencil"></span>'; | |
32 | + echo '<a href="#" onclick="editNews('.$row["pk"].')" class="glyphicon glyphicon-pencil"></span>'; | |
33 | 33 | echo '</h3>'; |
34 | 34 | echo '</div>'; |
35 | 35 | echo '<div class="panel-body">'; | ... | ... |