Browse Source

Fetch one, instead of all

pull/40/head
nonmakina 3 years ago
parent
commit
26f8c332ef
  1. 2
      templates/themes/semirand/theme.php

2
templates/themes/semirand/theme.php

@ -105,7 +105,7 @@
$query->bindValue(':id', $thread_id, PDO::PARAM_INT);
$query->execute() or error(db_error($query));
return $query->fetchAll(PDO::FETCH_ASSOC);
return $query->fetch(PDO::FETCH_ASSOC);
}
/**

Loading…
Cancel
Save