| #575 | if( empty($author) ){ |
| #576 | $author = empty($user['author'] ) ? $user['username'] : $user['author']; |
| #577 | } |
| #578 | $alias = isset($post['alias']) ? trim($post['alias']) : ''; |
| #579 | if($alias && preg_match("/^\d+_\d+$/u",$alias)){ // 数字_数字 会和没有别名的 别名型URL冲突,导致404页面 |
| #580 | return array('err'=>1 ,'msg'=>lang('alias_error_number_and_number')); |
| #581 | } |
| #582 | |
| #583 | $topicstr = isset($post['topics']) ? trim($post['topics'], ", \t\n\r\0\x0B") : ''; |
| #584 |