diff options
Diffstat (limited to 'protected/controllers/MyVereinController.php')
| -rw-r--r-- | protected/controllers/MyVereinController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protected/controllers/MyVereinController.php b/protected/controllers/MyVereinController.php index 9812bff..c019f73 100644 --- a/protected/controllers/MyVereinController.php +++ b/protected/controllers/MyVereinController.php @@ -89,7 +89,7 @@ class MyVereinController extends Controller if (null === $filename) { throw new CHttpException(500, 'Error while saving image.'); } - $model->bild = $filename; + $model->bild = "/".$filename; $model->save(); } } |
