diff --git a/security/Member.php b/security/Member.php
index <HASH>..<HASH> 100755
--- a/security/Member.php
+++ b/security/Member.php
@@ -746,8 +746,14 @@ class Member extends DataObject {
 	 * @return String SQL
 	 */
 	static function get_title_sql($tableName = 'Member') {
+	
 		if (self::$title_format) {
-			return "CONCAT(".join("'".self::$title_format['sep']."'", self::$title_format['columns']).")";
+			$columnsWithTablename = array();
+			foreach(self::$title_format['columns'] as $column) {
+				$columnsWithTablename[] = "$tableName.$column";
+			}
+		
+			return "CONCAT(".join("'".self::$title_format['sep']."'", $columnsWithTablename).")";
 		} else {
 			return "CONCAT($tableName.Surname, ' ', $tableName.FirstName)";
 		}
BUGFIX: Take into account tablename with custom columns in get_title_sql (from r<I>) (from r<I>)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9