inc/toolkit.inc.php
changeset 192 3d18290ac993
parent 176 18905ae8cca3
child 193 6a87ca695244
--- a/inc/toolkit.inc.php	Thu Jul 24 17:21:33 2008 +0000
+++ b/inc/toolkit.inc.php	Thu Aug 07 18:45:13 2008 +0000
@@ -243,7 +243,7 @@
 			domains.name AS domainname
 			FROM domains
 			LEFT JOIN zones ON domains.id=zones.domain_id 
-			WHERE substring(domains.name,1,1) ".$sql_regexp." ".$db->quote("^".$letter);
+			WHERE substring(domains.name,1,1) ".$sql_regexp." ".$db->quote("^".$letter, 'text');
 	$db->setLimit(1);
         $result = $db->query($query);
         $numrows = $result->numRows();