diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/common.php b/inc/common.php index 21dea4d5f..2c200cf5a 100644 --- a/inc/common.php +++ b/inc/common.php @@ -40,8 +40,7 @@ function hsc($string){ * @author Andreas Gohr <andi@splitbrain.org> */ function ptln($string,$intend=0){ - for($i=0; $i<$intend; $i++) print ' '; - echo "$string\n"; + echo str_repeat(' ', $intend)."$string\n"; } /** |