Podcasts
This commit is contained in:
1 parent
decdc7abd7
commit
3f7af298f2
4 files changed
+41
-15
No files matched your search
@@ -25,7 +25,7 @@ class Program extends Model {
|
||||
}
|
||||
}
|
||||
|
||||
if(($mailComma = strpos($data->email, ',')) !== false) {
|
||||
if(isset($data->email) && ($mailComma = strpos($data->email, ',')) !== false) {
|
||||
$this->email = substr($data->email, 0, $mailComma);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user