summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-07-06 18:57:59 +0200
committerAndrey Andreev <narf@devilix.net>2014-07-06 18:57:59 +0200
commit5286ef0f3ec6d298fa53bfbf8ecde474e5710f81 (patch)
treeec9c268acda15ac1e2e2498cadc884f02c7dec95 /system/helpers
parentab9971f112c1394db0d0fc963d860479d3ec408b (diff)
Fix #3131
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/url_helper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index dff1a86d2..4493d5b97 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -208,6 +208,10 @@ if ( ! function_exists('anchor_popup'))
$window_name = $attributes['window_name'];
unset($attributes['window_name']);
}
+ else
+ {
+ $window_name = '_blank';
+ }
foreach (array('width' => '800', 'height' => '600', 'scrollbars' => 'yes', 'status' => 'yes', 'resizable' => 'yes', 'screenx' => '0', 'screeny' => '0') as $key => $val)
{