Merge pull request #79 from defeme/patch-1

Update Menu.php
This commit is contained in:
joyqi 2013-11-20 22:22:28 -08:00
commit 095fa2da12

View File

@ -206,7 +206,13 @@ class Widget_Menu extends Typecho_Widget
}
}
}
if(!empty($currentUrlParts['query']) && substr($urlParts['path'],-13) == 'extending.php'){
if( $urlParts['query'] != $currentUrlParts['query']){
$validate = false;
}
}
if ($hidden && $validate) {
$hidden = false;
}