Anastasia
/
clinica
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
2b7c5db8f9c997de8741cbe3f2543777a2f6f02d
Authored by
Anastasia
2018-06-11 13:01:37 +0300
1 parent
849f4839
- visit
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
backend/views/visit/_form.php
Inline
Side-by-side
backend/views/visit/_form.php
Wrap text
Show/Hide comments
View file @
2b7c5db
...
...
@@ -31,7 +31,7 @@
31
31
]
32
32
) ?>
33
33
<?php
34
- if (
$model->entity !== null
){
34
+ if (
!empty($model->entity)
){
35
35
$entity = call_user_func(array($model->entity, 'find'))->where(['id' => $model->entity_id])->one();
36
36
echo ("<p>".$entity->title."</p>");
37
37
}
...
...