summaryrefslogtreecommitdiff
path: root/protected/controllers/VereinController.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/controllers/VereinController.php')
-rw-r--r--protected/controllers/VereinController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/protected/controllers/VereinController.php b/protected/controllers/VereinController.php
index 445488b..aad8776 100644
--- a/protected/controllers/VereinController.php
+++ b/protected/controllers/VereinController.php
@@ -116,7 +116,7 @@ class VereinController extends Controller
if (null === $filename) {
throw new CHttpException(500, 'Error while saving image.');
}
- $model->bild = $filename;
+ $model->bild = "/".$filename;
$model->save();
}
}