Skip to content

Commit

Permalink
BUG move test file to correct folder and fix class_exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Mar 31, 2016
1 parent 449a41a commit d8d005d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/Member.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ public static function logged_in_session_exists() {
*/
public static function autoLogin() {
// Don't bother trying this multiple times
if (!class_exists('SapphireTest') || !SapphireTest::is_running_test()) {
if (!class_exists('SapphireTest', false) || !SapphireTest::is_running_test()) {
self::$_already_tried_to_auto_log_in = true;
}

Expand Down
File renamed without changes.

0 comments on commit d8d005d

Please sign in to comment.