소스 검색

Thanks to Simon Dick for making the db_prefs work again\!

teepe 23 년 전
부모
커밋
372a6cf179
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/db_prefs.php

+ 1 - 1
functions/db_prefs.php

@@ -39,7 +39,7 @@ global $prefs_are_cached, $prefs_cache;
 if ( !session_is_registered('prefs_are_cached') ||
      !isset( $prefs_cache) ||
      !is_array( $prefs_cache) ||
-     substr( phpversion(), 0, 3 ) == '4.1 ) {
+     substr( phpversion(), 0, 3 ) == '4.1' ) {
     $prefs_are_cached = false;
     $prefs_cache = array();
 }