@@ -215,7 +215,7 @@ |
||
| 215 | 215 | $altName = "; filename*=UTF-8''" . rawurlencode($fileName); |
| 216 | 216 | } |
| 217 | 217 | |
| 218 | - $this->header('Content-Disposition',$type . '; filename="' . $fileName . '"' . $altName); |
|
| 218 | + $this->header('Content-Disposition', $type . '; filename="' . $fileName . '"' . $altName); |
|
| 219 | 219 | |
| 220 | 220 | return $this; |
| 221 | 221 | } |
@@ -1017,7 +1017,7 @@ discard block |
||
| 1017 | 1017 | |
| 1018 | 1018 | // Ummm... don't take someone else's email during the change |
| 1019 | 1019 | // @todo Separate the sprintf? |
| 1020 | - if (userByEmail($this->_req->post->new_email) === false) |
|
| 1020 | + if (userByEmail($this->_req->post->new_email) === false) |
|
| 1021 | 1021 | { |
| 1022 | 1022 | throw new Exception('email_in_use', false, array(htmlspecialchars($this->_req->post->new_email, ENT_COMPAT, 'UTF-8'))); |
| 1023 | 1023 | } |
@@ -1178,7 +1178,7 @@ discard block |
||
| 1178 | 1178 | ->removeHeader('all') |
| 1179 | 1179 | ->header('Connection', 'close') |
| 1180 | 1180 | ->header('Content-Disposition', 'attachment; filename="approval.txt"') |
| 1181 | - ->contentType( 'application/octet-stream') |
|
| 1181 | + ->contentType('application/octet-stream') |
|
| 1182 | 1182 | ->header('Content-Length', count($data)) |
| 1183 | 1183 | ->sendHeaders(); |
| 1184 | 1184 | |
@@ -275,7 +275,7 @@ |
||
| 275 | 275 | } |
| 276 | 276 | elseif ($xml_format === 'rdf') |
| 277 | 277 | { |
| 278 | - $headers->contentType('application/rdf+xml','UTF-8'); |
|
| 278 | + $headers->contentType('application/rdf+xml', 'UTF-8'); |
|
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | theme()->getTemplates()->load('Xml'); |
@@ -275,7 +275,7 @@ |
||
| 275 | 275 | Headers::instance() |
| 276 | 276 | ->removeHeader('all') |
| 277 | 277 | ->header('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT') |
| 278 | - ->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT') |
|
| 278 | + ->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT') |
|
| 279 | 279 | ->header('Cache-Control', 'no-cache') |
| 280 | 280 | ->contentType('text/html', 'UTF-8') |
| 281 | 281 | ->sendHeaders(); |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | { |
| 158 | 158 | $header |
| 159 | 159 | ->header('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT') |
| 160 | - ->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT') |
|
| 160 | + ->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT') |
|
| 161 | 161 | ->contentType('text/html', 'UTF-8'); |
| 162 | 162 | } |
| 163 | 163 | |