Skip to content

Commit

Permalink
Manage empty target.
Browse files Browse the repository at this point in the history
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
  • Loading branch information
Tithugues committed Jan 11, 2015
1 parent 6faf390 commit d7d260f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Util.class.php
Expand Up @@ -3197,7 +3197,7 @@ public static function getTitleForTarget($target)
'db_search.php' => __('Search'),
'db_operations.php' => __('Operations'),
);
return $mapping[$target];
return isset($mapping[$target]) ? $mapping[$target] : false;
}

/**
Expand Down

0 comments on commit d7d260f

Please sign in to comment.