diff options
Diffstat (limited to 'app/functions.php')
-rw-r--r-- | app/functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/functions.php b/app/functions.php index d45e78e7..439375be 100644 --- a/app/functions.php +++ b/app/functions.php @@ -63,6 +63,9 @@ function dt($format, $timestamp) * @todo Improve this function * @return mixed */ -function p($value, $t1, $t2) { +function p($value, $t1, $t2) +{ return $value > 1 ? $t2 : $t1; } + + |