@@ -302,7 +302,7 @@ |
||
| 302 | 302 | |
| 303 | 303 | if(!is_null($this->student->education_garde_id)){ |
| 304 | 304 | $this->education_grade = Education_grade::where('id', '=', $this->student->education_garde_id)->first(); |
| 305 | - }else{ |
|
| 305 | + } else{ |
|
| 306 | 306 | $this->student->education_garde_id = $this->education_grade->id; |
| 307 | 307 | } |
| 308 | 308 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | array_walk($approvedstudent, array($this, 'addStudents')); |
| 65 | 65 | |
| 66 | - }catch (\Exception $e) { |
|
| 66 | + } catch (\Exception $e) { |
|
| 67 | 67 | Log::error($e); |
| 68 | 68 | } |
| 69 | 69 | } |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | 'created_user_id' => $approvedstudent['created_user_id'], |
| 108 | 108 | ]); |
| 109 | 109 | } |
| 110 | - }catch (\Exception $e){ |
|
| 110 | + } catch (\Exception $e){ |
|
| 111 | 111 | echo $e->getMessage(); |
| 112 | 112 | } |
| 113 | 113 | } |