Permalink
Browse files

error log

  • Loading branch information...
1 parent 12395c8 commit dff0d656cfe085c23b5128ea9c168e2ed81350f9 @NoahY committed Jan 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 qa-history-layer.php
View
@@ -110,10 +110,11 @@ function user_activity_form() {
$handle = $this->_user_handle();
if(!$handle) return;
$userid = $this->getuserfromhandle($handle);
+ if(!$userid) return;
// update last visit
- if((int)$userid === qa_get_logged_in_userid() && qa_opt('user_act_list_new')) {
+ if($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 dff0d65

Please sign in to comment.