diff --git a/src/Sifo/Session.php b/src/Sifo/Session.php index e633129b..4b4ff292 100644 --- a/src/Sifo/Session.php +++ b/src/Sifo/Session.php @@ -82,7 +82,7 @@ public function set( $name, $value = null ) } elseif ( !isset( $name ) || !isset( $value ) ) { - trigger_error( "Session: Missing parameter or parameters." ); + trigger_error( 'Session: Missing parameter or parameters.', E_USER_WARNING); return false; } else @@ -117,7 +117,7 @@ public function delete( $name ) { if ( !isset( $_SESSION[$name] ) ) { - trigger_error( "Session: $name variable does not exist." ); + trigger_error( "Session: $name variable does not exist.", E_USER_WARNING ); return false; } else