WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 49b4e49

Browse files
committed
bugfix - Silverbullet should not be shown as an EAP method to choosr from
1 parent 93e929f commit 49b4e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/admin/edit_profile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
<ol id="sortable2" class="eapmethods">
407407
<?php
408408
foreach ($methods as $a) {
409-
if ($a == \core\common\EAP::EAPTYPE_SILVERBULLET) {
409+
if ($a->getArrayRep() == \core\common\EAP::EAPTYPE_SILVERBULLET) {
410410
continue;
411411
}
412412
$display = $a->getPrintableRep();

0 commit comments

Comments
 (0)