OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c1a2c
)
FIX:条件判定の否定演算子が二重に記述されていたためmemberテーブルの値が不正に書き換えられてしまう不具合を修正
author
reine
<reine@users.sourceforge.jp>
Tue, 10 Apr 2012 14:58:48 +0000
(23:58 +0900)
committer
reine
<reine@users.sourceforge.jp>
Tue, 10 Apr 2012 14:58:48 +0000
(23:58 +0900)
nucleus/libs/MEMBER.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/MEMBER.php
b/nucleus/libs/MEMBER.php
index
0bb02a9
..
1ca7d3d
100644
(file)
--- a/
nucleus/libs/MEMBER.php
+++ b/
nucleus/libs/MEMBER.php
@@
-916,7
+916,7
@@
class Member
\r
public function setLocale($locale)
\r
{
\r
- if ( !
!
preg_match('#^(.+)_(.+)_(.+)$#', $locale)
\r
+ if ( !preg_match('#^(.+)_(.+)_(.+)$#', $locale)
\r
&& ($locale = i18n::convert_old_language_file_name_to_locale($locale)) === FALSE )
\r
{
\r
$locale = '';
\r