diff --git a/addressbook/inc/class.boXport.inc.php b/addressbook/inc/class.boXport.inc.php
index 58f0c645a4..46ce01f855 100644
--- a/addressbook/inc/class.boXport.inc.php
+++ b/addressbook/inc/class.boXport.inc.php
@@ -313,7 +313,7 @@
{
//echo '
zip_entry_name==' . zip_entry_name($dirent);
/* If an allowed extenstion based on conversion type */
- if(ereg($ext,zip_entry_name($dirent)))
+ if(strstr(zip_entry_name($dirent),$ext))
{
/* Write the data to our temp file */
$data = zip_entry_read($dirent,zip_entry_filesize($dirent));
@@ -349,8 +349,8 @@
{
if(substr($col,0,6) == 'extra_')
{
- $field = ereg_replace('extra_','',$col);
- $field = ereg_replace(' ','_',$field);
+ $field = str_replace('extra_','',$col);
+ $field = str_replace(' ','_',$field);
$customfields[$field] = ucfirst($field);
}
}
diff --git a/addressbook/inc/class.uiXport.inc.php b/addressbook/inc/class.uiXport.inc.php
index 41c505c8ce..c5c09bafea 100644
--- a/addressbook/inc/class.uiXport.inc.php
+++ b/addressbook/inc/class.uiXport.inc.php
@@ -167,7 +167,7 @@
sort($myfilearray);
for($i=0;$i' . $fname . '';
}
@@ -272,7 +272,7 @@
sort($myfilearray);
for($i=0;$i'.$fname.''."\n";
}