Skip to content

Commit

Permalink
5.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyilmaz committed Feb 26, 2024
1 parent dfc825d commit 77e076d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mind.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
*
* @package Mind
* @version Release: 5.9.5
* @version Release: 5.9.6
* @license GPL3
* @author Ali YILMAZ <[email protected]>
* @category Php Framework, Design pattern builder for PHP.
Expand Down Expand Up @@ -3415,8 +3415,8 @@ public function request(){
* @param string $str
* @return string
*/
public function filter($str){
return htmlspecialchars($str);
public function filter($str){
return htmlspecialchars((!is_null($str)) ? $str : '');
}

/**
Expand Down

0 comments on commit 77e076d

Please sign in to comment.