# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/Francesco/NetBeansProjects/bp-branch-1.2/1.2
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
136 | 136 | $sql['where_popular'] = "AND um.meta_key = 'total_friend_count'"; |
137 | 137 | |
138 | 138 | if ( 'online' == $type ) |
139 | | $sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= NOW()"; |
140 | | No newline at end of file |
| 139 | $sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP()"; |
| 140 | No newline at end of file |
141 | 141 | |
142 | 142 | if ( 'alphabetical' == $type ) |