@@ 1029-1035 (lines=7) @@ | ||
1026 | $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1027 | } |
|
1028 | $return_value = ! isset($return_value) ? true : $return_value; |
|
1029 | } else { |
|
1030 | // yeeeeeeeeerrrrrrrrrrr OUT !!!! |
|
1031 | if ($show_all_notices) { |
|
1032 | EE_Error::add_error(sprintf(__('Sorry! %s is a default session datum and can not be reset.', |
|
1033 | 'event_espresso'), $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1034 | } |
|
1035 | $return_value = false; |
|
1036 | } |
|
1037 | } elseif ($show_all_notices) { |
|
1038 | // oops! that session var does not exist! |
|
@@ 1037-1042 (lines=6) @@ | ||
1034 | } |
|
1035 | $return_value = false; |
|
1036 | } |
|
1037 | } elseif ($show_all_notices) { |
|
1038 | // oops! that session var does not exist! |
|
1039 | EE_Error::add_error(sprintf(__('The session item provided, %s, is invalid or does not exist.', |
|
1040 | 'event_espresso'), $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1041 | $return_value = false; |
|
1042 | } |
|
1043 | } // end of foreach |
|
1044 | return $return_value; |
|
1045 | } |