Permalink
Browse files

fixed notice

  • Loading branch information...
1 parent 06774b9 commit c88868edd38591914df52e8fa149a816260104b7 @NoahY committed Jun 8, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 qa-history-layer.php
  2. +1 −1 qa-plugin.php
View
@@ -370,6 +370,8 @@ function user_activity_form() {
if($type == 'badge_awarded') {
$slug = $params['badge_slug'];
$typea = qa_get_badge_type_by_slug($slug);
+ if(!$typea)
+ continue;
$types = $typea['slug'];
$typed = $typea['name'];
View
@@ -3,7 +3,7 @@
Plugin Name: History
Plugin URI: https://github.com/NoahY/q2a-history
Plugin Description: Adds complete activity history list to user profile
- Plugin Version: 1.2
+ Plugin Version: 1.3
Plugin Date: 2011-10-26
Plugin Author: NoahY
Plugin Author URI: http://www.question2answer.org/qa/user/NoahY

0 comments on commit c88868e

Please sign in to comment.