Skip to content

Commit 713ac3b

Browse files
author
Mark Vincent
committed
Merge pull request #9 from WildcardSearch/maintenance
1.1.1 Release
2 parents 77e2df9 + 9d48d46 commit 713ac3b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## YourCode 1.1
1+
## YourCode 1.1.1
22

33
*Forget MyCode. Take control of YourCode-- a much better way of handling BB Code for MyBB forums*
44

Upload/inc/plugins/yourcode/acp.php

+7-3
Original file line numberDiff line numberDiff line change
@@ -637,14 +637,14 @@ function yourcode_admin_module()
637637
continue;
638638
}
639639

640-
$c_level = 2;
640+
$deleted = false;
641641
switch($mybb->input['inline_action']) {
642642
case 'delete':
643643
if(!$this_module->remove())
644644
{
645645
continue 2;
646646
}
647-
$c_level = 1;
647+
$deleted = true;
648648
default:
649649
if($mybb->input['inline_action'] == 'activate')
650650
{
@@ -660,7 +660,11 @@ function yourcode_admin_module()
660660
{
661661
if(!in_array($name, $active_modules))
662662
{
663-
continue $c_level;
663+
if($deleted)
664+
{
665+
continue 1;
666+
}
667+
continue 2;
664668
}
665669

666670
// deactivate

Upload/inc/plugins/yourcode/install.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function yourcode_info()
6969
"website" => 'https://github.com/WildcardSearch/YourCode',
7070
"author" => $author,
7171
"authorsite" => 'http://www.rantcentralforums.com',
72-
"version" => '1.1',
72+
"version" => '1.1.1',
7373
"compatibility" => '16*',
7474
"guid" => '36a18ebc285a181a42561141adfd1d7f',
7575
);

0 commit comments

Comments
 (0)