Skip to content

Commit

Permalink
Coding guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Sep 26, 2013
1 parent 4666bef commit f4a4e90
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/config_api.php
Expand Up @@ -593,11 +593,10 @@ function config_eval( $p_value, $p_global = false ) {
$t_repl = config_get( $t_matches[2][$i] );
}

// Handle the simple case where there is no need to do string replace.
// This will resolve the case where the $t_repl value is of non-string
// type, e.g. array of access levels.
if ( $t_count == 1 && $p_value == '%' . $t_matches[2][$i] . '%' )
{
# Handle the simple case where there is no need to do string replace.
# This will resolve the case where the $t_repl value is of non-string
# type, e.g. array of access levels.
if( $t_count == 1 && $p_value == '%' . $t_matches[2][$i] . '%' ) {
$t_value = $t_repl;
break;
}
Expand Down

0 comments on commit f4a4e90

Please sign in to comment.