how did i miss this?!?

This commit is contained in:
Ryan Walberg 2012-11-30 03:02:42 +00:00
parent bae52a642b
commit 6513d8a14c

View file

@ -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;
}