Commit bd6ef250 authored by SpinShare's avatar SpinShare

fixed review button, fixed cors

parent 6508de39
......@@ -55,7 +55,7 @@ class SongController extends AbstractController
$data['activeAction'] = $request->query->get('action');
if($this->getUser() != null) {
$resultUserReview = $em->getRepository(SongReview::class)->findBy(array('user' => $this->getUser()));
$resultUserReview = $em->getRepository(SongReview::class)->findBy(array('song' => $resultSong, 'user' => $this->getUser()));
$data['userReview'] = $resultUserReview;
if($this->getUser() != $resultUploader) {
......
......@@ -8,7 +8,6 @@
<!-- Meta Tags -->
<link rel="icon" type="image/png" href="{{ asset('assets/img/favicon.png') }}" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<meta property="og:site_name" content="SpinSha.re"/>
<meta name="description" content="Share your custom charts for the rhythm game Spin Rhythm XD on SpinSha.re" />
{% block meta %}{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment