partial #2030
This commit is contained in:
parent
84181dc114
commit
fede02ce67
@ -514,7 +514,9 @@ class Crunchbutton_Chart extends Cana_Model {
|
|||||||
$regex = '/' . $regex . '/';
|
$regex = '/' . $regex . '/';
|
||||||
preg_match( $regex, $permission, $matches );
|
preg_match( $regex, $permission, $matches );
|
||||||
if( count( $matches ) > 0 ){
|
if( count( $matches ) > 0 ){
|
||||||
$restaurants_ids[] = $matches[ 1 ];
|
if( is_numeric( $matches[ 1 ] ) ){
|
||||||
|
$restaurants_ids[] = $matches[ 1 ];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user