Skip to content

Commit

Permalink
Change error type to E_WARNING when try to store a null value in session
Browse files Browse the repository at this point in the history
  • Loading branch information
p0lemic committed Jun 11, 2019
1 parent 28db8cb commit ba9c2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sifo/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba9c2af

Please sign in to comment.