projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8add21c
)
Fix array_shift() usage.
author
Jan Schneider
<jan@horde.org>
Sun, 2 Jan 2011 23:15:13 +0000
(
00:15
+0100)
committer
Jan Schneider
<jan@horde.org>
Sun, 2 Jan 2011 23:15:13 +0000
(
00:15
+0100)
framework/Support/lib/Horde/Support/Numerizer.php
patch
|
blob
|
history
diff --git
a/framework/Support/lib/Horde/Support/Numerizer.php
b/framework/Support/lib/Horde/Support/Numerizer.php
index
9f7317a
..
8894bfc
100644
(file)
--- a/
framework/Support/lib/Horde/Support/Numerizer.php
+++ b/
framework/Support/lib/Horde/Support/Numerizer.php
@@
-19,7
+19,7
@@
class Horde_Support_Numerizer
return new $class($args);
}
-
$language = array_shift(explode('_', $locale)
);
+
list($language,) = explode('_', $locale
);
if ($language != $locale) {
$class = 'Horde_Support_Numerizer_Locale_' . $language;
if (class_exists($class)) {