Skip to content

Commit

Permalink
顶导左侧菜单一处判断修复
Browse files Browse the repository at this point in the history
  • Loading branch information
gongwen committed Jul 6, 2015
1 parent bddf9a4 commit 494fd5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MinPHP/run/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<span id="topbutton" style="float:right">
<?php
if(is_lgoin()){
//如果是接口详情页的话,就显示【导出】按钮 与 【排序按钮】
if($_GET['act']='api' && isset($_GET['tag']) && !isset($_GET['op'])){
//如果是接口详情页的话,就显示【导出】按钮 与 【排序】按钮
if($_GET['act']=='api' && isset($_GET['tag']) && !isset($_GET['op'])){
echo '<a href="?act=sort&tag='.$_GET['tag'].'">排序&nbsp;&nbsp;</a>';
echo '<a href="?act=export&tag='.$_GET['tag'].'">导出&nbsp;&nbsp;</a>';
}
Expand Down

0 comments on commit 494fd5f

Please sign in to comment.