Commit 6b162af6 authored by Adrian Rossouw's avatar Adrian Rossouw

Fixed the strtolower not being called on site titles. Thanks @hadsie - #830866

parent 976b2729
...@@ -461,7 +461,7 @@ function hosting_site_validate($node, &$form) { ...@@ -461,7 +461,7 @@ function hosting_site_validate($node, &$form) {
*/ */
function hosting_site_nodeapi(&$node, $op, $teaser, $page) { function hosting_site_nodeapi(&$node, $op, $teaser, $page) {
switch($op) { switch($op) {
case 'submit': case 'presave':
$node->title = strtolower(trim($node->title)); // domain names are case-insensitive $node->title = strtolower(trim($node->title)); // domain names are case-insensitive
break; break;
} }
......
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