From: Antoine Musso Date: Sun, 7 Jan 2007 06:44:08 +0000 (+0000) Subject: oops X-Git-Tag: 1.31.0-rc.0~54613 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=c3a38081b5e7d439ae85f3089ebedef6b1b18cc4;p=lhc%2Fweb%2Fwiklou.git oops --- diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index e22914b816..3adb50ba80 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -238,7 +238,7 @@ class SpecialVersion { if ( $cnt == 1 ) // Enforce always returning a string return (string)$this->arrayToString( $list[0] ); - elseif ( $cnt == 0 ) { + elseif ( $cnt == 0 ) return ''; else { $t = array_slice( $list, 0, $cnt - 1 );