Tobias Reich 11 years ago
parent
commit
2021d6df9a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      php/modules/misc.php

+ 0 - 1
php/modules/misc.php

@@ -14,7 +14,6 @@ function openGraphHeader($photoID) {
 	global $database;
 
 	$photoID = mysqli_real_escape_string($database, $photoID);
-	if (!is_numeric($photoID)) return false;
 
 	$result	= $database->query("SELECT title, description, url FROM lychee_photos WHERE id = '$photoID';");
 	$row	= $result->fetch_object();