Skip to content

Commit

Permalink
按花晨月夕的建议修改ZBP的AddBuildModule;
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowsoft committed Oct 26, 2023
1 parent 9d575c0 commit 0f6a68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zb_system/function/lib/zblogphp.php
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ public function RegBuildModules()
public function AddBuildModule($moduleFileName, $parameters = null)
{
$p = func_get_args();
if ($moduleFileName == 'archives' && $this->option['ZC_LARGE_DATA'] == false && isset($this->modulesbyfilename['archives'])) {
if ($moduleFileName == 'archives' && isset($this->modulesbyfilename['archives'])) {
if ($this->modulesbyfilename['archives']->GetSideBarInUsed() == array()) {
return;
}
Expand Down

0 comments on commit 0f6a68c

Please sign in to comment.