Update emailcollector.class.php
This commit is contained in:
parent
d255c95661
commit
0ec4294d96
@ -812,9 +812,9 @@ class EmailCollector extends CommonObject
|
||||
//var_dump($tmpproperty.' - '.$regexstring.' - '.$regexoptions.' - '.$sourcestring);
|
||||
if (preg_match('/'.$regexstring.'/'.$regexoptions, $sourcestring, $regforval))
|
||||
{
|
||||
//var_dump($regforval[sizeof($regforval)-1]);exit;
|
||||
//var_dump($regforval[count($regforval)-1]);exit;
|
||||
// Overwrite param $tmpproperty
|
||||
$object->$tmpproperty = isset($regforval[sizeof($regforval)-1]) ?trim($regforval[sizeof($regforval)-1]) : null;
|
||||
$object->$tmpproperty = isset($regforval[count($regforval)-1]) ?trim($regforval[count($regforval)-1]) : null;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1423,9 +1423,9 @@ class EmailCollector extends CommonObject
|
||||
//var_dump($regexstring);var_dump($sourcestring);
|
||||
if (preg_match('/'.$regexstring.'/ms', $sourcestring, $regforval))
|
||||
{
|
||||
//var_dump($regforval[sizeof($regforval)-1]);exit;
|
||||
//var_dump($regforval[count($regforval)-1]);exit;
|
||||
// Overwrite param $tmpproperty
|
||||
$nametouseforthirdparty = isset($regforval[sizeof($regforval)-1]) ?trim($regforval[sizeof($regforval)-1]) : null;
|
||||
$nametouseforthirdparty = isset($regforval[count($regforval)-1]) ?trim($regforval[count($regforval)-1]) : null;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user