소스 검색

cosmetic tweak

Lukas Kahwe Smith 13 년 전
부모
커밋
d3f137b9c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/HttpFoundation/Request.php

+ 1 - 1
src/Symfony/Component/HttpFoundation/Request.php

@@ -1029,7 +1029,7 @@ class Request
             // Cut off any q-value that might come after a semi-colon
             if (preg_match('/;\s*(q=.*$)/', $value, $match)) {
                 $q     = (float) substr(trim($match[1]), 2);
-                $value = trim(substr($value, 0, -1*strlen($match[0])));
+                $value = trim(substr($value, 0, -strlen($match[0])));
             } else {
                 $q = 1;
             }