Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
修复节点图导入逻辑错误bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yuan1994 committed Dec 14, 2016
1 parent 2768115 commit 275af82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/admin/logic/NodeMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function load($module, $requestMethod = self::METHOD_ALL, $filter = [])
$insertMap = [];
$controller = str_replace('\\', '.', str_replace('app\\' . $module . '\\controller\\', '', $class['class']));
foreach ($class['method'] as $method) {
if (!isset($maps[$controller]) && !isset($maps[$controller][$method['name']])) {
if (!isset($maps[$controller]) || !isset($maps[$controller][$method['name']])) {
$insertMap[] = [
'module' => $module,
'controller' => $controller,
Expand Down

0 comments on commit 275af82

Please sign in to comment.