[guadec-web-regcfp/develop] Pick the right list
- From: Patrick Uiterwijk <puiterwijk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web-regcfp/develop] Pick the right list
- Date: Sat, 8 Aug 2015 13:58:26 +0000 (UTC)
commit bc351645c4f677e4abc07e73b73b3ae42063fa3e
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date: Sat Aug 8 15:58:10 2015 +0200
Pick the right list
routes/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/routes/index.js b/routes/index.js
index 7486609..e636dbb 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -63,7 +63,7 @@ router.get('/view_name', function(req, res, next) {
shuffle(users);
var name = null;
if(req.query.index) {
- name = users[req.query.index].name;
+ name = users2[req.query.index].name;
}
res.render('index/view_user', { count: users2.length, name: name, everyone: everyone });
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]