Skip to content

Commit

Permalink
fix preg_split function regular expression for detect || correctly (#220
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MasoudSaraf committed Nov 10, 2021
1 parent 9e573b8 commit eae94db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mng-rad-hunt-del.php
Expand Up @@ -47,7 +47,7 @@

foreach ($hgroup_array as $hgroup) {

list($nasipaddress, $nasportid) = preg_split('\|\|', $hgroup);
list($nasipaddress, $nasportid) = preg_split('/\|\|/', $hgroup);

if (trim($nasipaddress) != "") {

Expand Down

0 comments on commit eae94db

Please sign in to comment.