Skip to content

Commit

Permalink
Fix index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
birtles committed Jul 4, 2012
1 parent f65263b commit c37acfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wall/public/characters/index.php
Expand Up @@ -21,7 +21,7 @@
$base_url = $_SERVER['HTTPS'] == 'on' ? "https://" : "http://";
$base_url .= $_SERVER['HTTP_HOST'];
$base_url .= substr($self, 0, strrpos($self, '/') + 1);
$query = "SELECT id, author, title, active FROM characters";
$query = "SELECT charId, author, title, active FROM characters";
$result = mysql_query($query, $connection) or throwException(mysql_error());
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
$url = $base_url . $row[0] . ".svg";
Expand Down

0 comments on commit c37acfe

Please sign in to comment.