diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-09-22 09:31:11 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-09-22 09:31:11 +0200 |
commit | ff767a14ff7675fce7b23b918f41fa92157dd0c0 (patch) | |
tree | f7a1ed9a6c7d5ec02e967278ff6301019258ead5 /bin/indexcontacts.sh | |
parent | 13bbcd0f59ef7a4459a6909079f0a558913e808a (diff) | |
parent | abc00f27c5d923a02c946a634e158dfe9f20974e (diff) |
Merge branch 'oracle'
Diffstat (limited to 'bin/indexcontacts.sh')
-rwxr-xr-x | bin/indexcontacts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/indexcontacts.sh b/bin/indexcontacts.sh index df403807c..9509dc06a 100755 --- a/bin/indexcontacts.sh +++ b/bin/indexcontacts.sh @@ -35,7 +35,7 @@ if (!$db->is_connected() || $db->is_error()) { } // iterate over all users -$sql_result = $db->query("SELECT user_id FROM " . $db->table_name('users') . " ORDER BY user_id"); +$sql_result = $db->query("SELECT `user_id` FROM " . $db->table_name('users', true) . " ORDER BY `user_id`"); while ($sql_result && ($sql_arr = $db->fetch_assoc($sql_result))) { echo "Indexing contacts for user " . $sql_arr['user_id'] . "..."; |