Permalink
Browse files

Bug squishing

  • Loading branch information...
1 parent 08ae929 commit 7e7e6fd06d88f4210abff0b90f03a9f4dad886f9 @pezholio committed Apr 9, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 postcode.php
View
@@ -12,7 +12,6 @@
if ($_GET['postcode']) {
$postcode = $_GET['postcode'];
- $single = TRUE;
if ($postcode != strtoupper($postcode)) {
header ('HTTP/1.1 301 Moved Permanently');
@@ -33,6 +32,8 @@
$_GET['format'] = str_replace(".", "", $_GET['format']);
}
+$single = TRUE;
+
$num_rows = mysql_num_rows($result);
if ($num_rows == 0) {

0 comments on commit 7e7e6fd

Please sign in to comment.