Fix indentation

pull/134/head
Thomas Bruederli 11 years ago
parent 0d9b63e9c0
commit 460a3eaaac

@ -358,17 +358,17 @@ class rcmail extends rcube
foreach ($this->config->get('compose_responses', array()) as $response) { foreach ($this->config->get('compose_responses', array()) as $response) {
if (empty($response['key'])) if (empty($response['key']))
$response['key'] = substr(md5($response['name']), 0, 16); $response['key'] = substr(md5($response['name']), 0, 16);
$k = $sorted ? strtolower($response['name']) : $response['key']; $k = $sorted ? strtolower($response['name']) : $response['key'];
$responses[$k] = $response; $responses[$k] = $response;
} }
if ($sorted) { if ($sorted) {
// sort list by name // sort list by name
ksort($responses, SORT_LOCALE_STRING); ksort($responses, SORT_LOCALE_STRING);
return array_values($responses); return array_values($responses);
} }
return $responses; return $responses;
} }

Loading…
Cancel
Save