1
This commit is contained in:
@@ -191,6 +191,7 @@ class User extends Base
|
||||
->where('user_id',$data['user_id'])
|
||||
->where('journal_id',$data['journal_id'])
|
||||
->where('end_date','>',time())
|
||||
->where("state",0)
|
||||
->find();
|
||||
if($check){
|
||||
return jsonError('Already exists');
|
||||
|
||||
Reference in New Issue
Block a user