Skip to content

Commit

Permalink
E_NOTICE fix; related to wpsharks/s2member#80
Browse files Browse the repository at this point in the history
  • Loading branch information
JasWSInc committed Apr 18, 2014
1 parent 48d9ff9 commit cb4f63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2member-pro/includes/classes/exports-in.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static function export_users()
$paid_registration_times = (isset($user->$s2map["paid_registration_times"])) ? $user->$s2map["paid_registration_times"] : array();
$custom_fields = (isset($user->$s2map["custom_fields"]) && is_array($user->$s2map["custom_fields"])) ? $user->$s2map["custom_fields"] : array();

$paid_registration_date = ($paid_registration_times["level"]) ? date("m/d/Y", $paid_registration_times["level"]) : "";
$paid_registration_date = (!empty($paid_registration_times["level"])) ? date("m/d/Y", $paid_registration_times["level"]) : "";
$paid_registration_times = (!empty($paid_registration_times) && is_array($paid_registration_times)) ? serialize($paid_registration_times) : "";
$registration_date = ($user->user_registered) ? date("m/d/Y", strtotime($user->user_registered)) : "";
$last_payment_date = ($last_payment_time) ? date("m/d/Y", $last_payment_time) : "";
Expand Down

0 comments on commit cb4f63f

Please # to comment.