Navigation Menu

Skip to content

Commit

Permalink
double sure of int/string
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahY committed Dec 19, 2011
1 parent a790350 commit 6057b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa-history-layer.php
Expand Up @@ -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 (
Expand Down

0 comments on commit 6057b29

Please sign in to comment.