Permalink
Browse files

double sure of int/string

  • Loading branch information...
1 parent a790350 commit 6057b29485ccdf52c40dc97b9a4021afeb80d75f @NoahY committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 qa-history-layer.php
View
@@ -113,7 +113,7 @@ function user_activity_form() {
// update last visit
- if($userid === qa_get_logged_in_userid() && qa_opt('user_act_list_new')) {
+ if((int)$userid === qa_get_logged_in_userid() && qa_opt('user_act_list_new')) {
qa_db_query_sub(
'CREATE TABLE IF NOT EXISTS ^usermeta (

0 comments on commit 6057b29

Please sign in to comment.