Skip to content

Commit

Permalink
A temporary fix for the helper function anchor_popup(), CodeIgniter i…
Browse files Browse the repository at this point in the history
…ssue 3131.
  • Loading branch information
ivantcholakov committed Jul 6, 2014
1 parent 5eeb8f2 commit 9e198c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/core/framework/helpers/url_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ function anchor_popup($uri = '', $title = '', $attributes = FALSE)
return '<a href="'.$site_url.'" onclick="window.open(\''.$site_url."', '_blank'); return false;\">".$title.'</a>';
}

$window_name = '';

if ( ! is_array($attributes))
{
$attributes = array($attributes);
Expand Down

0 comments on commit 9e198c1

Please sign in to comment.