Fix linting
This commit is contained in:
parent
5b17a7dbd7
commit
1614145b18
262 changed files with 45324 additions and 42695 deletions
|
|
@ -21,12 +21,11 @@
|
|||
*/
|
||||
function smarty_modifier_count_characters($string, $include_spaces = false)
|
||||
{
|
||||
if ($include_spaces)
|
||||
return(strlen($string));
|
||||
if ($include_spaces) {
|
||||
return(strlen($string));
|
||||
}
|
||||
|
||||
return preg_match_all("/[^\s]/",$string, $match);
|
||||
return preg_match_all("/[^\s]/", $string, $match);
|
||||
}
|
||||
|
||||
/* vim: set expandtab: */
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue