|
@@ 991-997 (lines=7) @@
|
| 988 |
|
} |
| 989 |
|
$return_value = !isset($return_value) ? TRUE : $return_value; |
| 990 |
|
|
| 991 |
|
} else { |
| 992 |
|
// yeeeeeeeeerrrrrrrrrrr OUT !!!! |
| 993 |
|
if ( $show_all_notices ) { |
| 994 |
|
EE_Error::add_error( sprintf( __( 'Sorry! %s is a default session datum and can not be reset.', 'event_espresso' ), $reset ), __FILE__, __FUNCTION__, __LINE__ ); |
| 995 |
|
} |
| 996 |
|
$return_value = FALSE; |
| 997 |
|
} |
| 998 |
|
|
| 999 |
|
} else if ( $show_all_notices ) { |
| 1000 |
|
// oops! that session var does not exist! |
|
@@ 999-1003 (lines=5) @@
|
| 996 |
|
$return_value = FALSE; |
| 997 |
|
} |
| 998 |
|
|
| 999 |
|
} else if ( $show_all_notices ) { |
| 1000 |
|
// oops! that session var does not exist! |
| 1001 |
|
EE_Error::add_error( sprintf( __( 'The session item provided, %s, is invalid or does not exist.', 'event_espresso' ), $reset ), __FILE__, __FUNCTION__, __LINE__ ); |
| 1002 |
|
$return_value = FALSE; |
| 1003 |
|
} |
| 1004 |
|
|
| 1005 |
|
} // end of foreach |
| 1006 |
|
|