|
@@ -53,7 +53,7 @@ class BaseController extends Controller |
|
@@ -53,7 +53,7 @@ class BaseController extends Controller |
|
53
|
*/
|
53
|
*/
|
|
54
|
public function handleIdAndProjectId()
|
54
|
public function handleIdAndProjectId()
|
|
55
|
{
|
55
|
{
|
|
56
|
- if(isset($this->param['id']) && !empty($this->param['id'])){
|
56
|
+ if(isset($this->param['id']) && !empty($this->param['id']) && !is_array($this->param['id'])){
|
|
57
|
if (preg_match('/^[A-Za-z]/', $this->param['id'])) {
|
57
|
if (preg_match('/^[A-Za-z]/', $this->param['id'])) {
|
|
58
|
$id = Cache::get('project_'.$this->param['id']);
|
58
|
$id = Cache::get('project_'.$this->param['id']);
|
|
59
|
if(empty($id)){
|
59
|
if(empty($id)){
|