From 6513d8a14c6d00890d85d45afe6bd77c17e944c9 Mon Sep 17 00:00:00 2001 From: Ryan Walberg Date: Fri, 30 Nov 2012 03:02:42 +0000 Subject: [PATCH] how did i miss this?!? --- src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.php b/src/index.php index 06ff443..02eef82 100644 --- a/src/index.php +++ b/src/index.php @@ -138,7 +138,7 @@ $stmt->bindParam(1, $userid, PDO::PARAM_INT); $stmt->execute(); $shoppees = array(); while ($row = $stmt->fetch()) { - $row['list_stamp'] = ($row['list_stamp == 0'] ? '-' : strftime($opt["date_format"], strtotime($row['list_stamp']))); + $row['list_stamp'] = ($row['list_stamp'] == 0 ? '-' : strftime($opt["date_format"], strtotime($row['list_stamp']))); $shoppees[] = $row; }