• R/O
  • SSH
  • HTTPS

jinrousiki: コミット


コミットメタ情報

リビジョン1971 (tree)
日時2017-04-23 01:39:00
作者umethyl

ログメッセージ

IsOn() -> IsOff()

変更サマリ

差分

--- trunk/include/user_class.php (revision 1970)
+++ trunk/include/user_class.php (revision 1971)
@@ -306,7 +306,7 @@
306306 //能力喪失判定
307307 public function IsActive($role = null) {
308308 return (is_null($role) || $this->IsRole($role)) &&
309- ! $this->IsOn(UserMode::LOST) && ! $this->IsRole('lost_ability');
309+ $this->IsOff(UserMode::LOST) && ! $this->IsRole('lost_ability');
310310 }
311311
312312 //期間限定表示役職
旧リポジトリブラウザで表示