Changeset 59 for trunk/Modules/Meet
- Timestamp:
- Sep 16, 2020, 11:15:46 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Meet/Meet.php
r57 r59 259 259 $Pattern = '/[a-z0-9_\-\+\.]+@[a-z0-9\-]+\.([a-z]{2,4})(?:\.[a-z]{2})?/i'; 260 260 preg_match_all($Pattern, $Text, $Matches); 261 if (count($Matches) > 0) 261 if ((count($Matches) > 0) and ($Matches[0][0] != '')) 262 { 262 263 $Result = $Matches[0][0]; 264 } 263 265 } 264 266 return $Result; … … 443 445 else $Weight = $this->Weight; 444 446 $this->Database->insert('MeetItem', array( 447 'Source' => $this->Source, 448 'Link' => $this->Link, 449 'Email' => $this->Email, 445 450 'Message' => $this->Message, 446 451 'Time' => TimeToMysqlDateTime($this->Time), 447 452 'Gender' => $this->Gender, 448 453 'Age' => $Age, 449 'Email' => $this->Email,450 454 'Phone' => $this->Phone, 451 455 'Name' => $this->Name, … … 453 457 'Weight' => $Weight, 454 458 'Location' => $this->Location, 455 'Source' => $this->Source,456 'Link' => $this->Link,457 459 'RemoteId' => $this->RemoteId, 458 460 'TimeImport' => 'NOW()',
Note:
See TracChangeset
for help on using the changeset viewer.