Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

get rid of deprecated eregi function and fix replacement

  • Loading branch information...
commit 530e0c0541a78bc7b3ede43821371b89e3c2b590 1 parent 0a040e2
@cweiske authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 www/importNetscape.php
View
5 www/importNetscape.php
@@ -74,7 +74,10 @@
$att = preg_split('/\s*=\s*/s', $attribute, 2);
$attrTitle = $att[0];
- $attrVal = eregi_replace('"', '"', preg_replace('/([\'"]?)(.*)\1/', '$2', $att[1]));
+ $attrVal = str_replace(
+ '"', '"',
+ preg_replace('/([\'"]?)(.*)\1/', '$2', $att[1])
+ );
switch ($attrTitle) {
case "HREF":
Please sign in to comment.
Something went wrong with that request. Please try again.