Permalink
Browse files

update

  • Loading branch information...
1 parent d490bbf commit cf551e60de8dc95d82e30617938b800553e87292 @NoahY committed Jan 19, 2012
Showing with 6 additions and 2 deletions.
  1. +1 −0 qa-history-admin.php
  2. +5 −2 qa-history-layer.php
@@ -543,6 +543,7 @@ function admin_form(&$qa_content)
return array(
'ok' => ($ok && !isset($error)) ? $ok : null,
+ 'error' => $error,
'fields' => $fields,
@@ -53,7 +53,7 @@ function doctype() {
}
}
}
- if($this->template == 'user' && (qa_get_logged_in_handle() === $this->_user_handle() || qa_opt('user_act_list_show'))) {
+ if(qa_opt('user_act_list_active') && $this->template == 'user' && (qa_get_logged_in_handle() === $this->_user_handle() || qa_opt('user_act_list_show'))) {
if(!isset($this->content['navigation']['sub'])) {
$this->content['navigation']['sub'] = array(
'profile' => array(
@@ -230,7 +230,10 @@ function user_activity_form() {
$paramsa = explode("\t",$event['params']);
foreach($paramsa as $param) {
$parama = explode('=',$param);
- $params[$parama[0]]=$parama[1];
+ if(isset($parama[1]))
+ $params[$parama[0]]=$parama[1];
+ else
+ $params[$param]=$param;
}
$link = '';

0 comments on commit cf551e6

Please sign in to comment.