diff --git a/apps/user_ldap/lib/mapping/abstractmapping.php b/apps/user_ldap/lib/mapping/abstractmapping.php
index 19f173577f525f6145a76751ea4d498e844ecefc..cb9db83f68306bb7d2160401adf124c8964f5833 100644
--- a/apps/user_ldap/lib/mapping/abstractmapping.php
+++ b/apps/user_ldap/lib/mapping/abstractmapping.php
@@ -32,7 +32,7 @@ abstract class AbstractMapping {
 	}
 
 	/**
-	 * checks whether a provided string represents an exisiting table col
+	 * checks whether a provided string represents an existing table col
 	 * @param string $col
 	 * @return bool
 	 */
@@ -164,7 +164,7 @@ abstract class AbstractMapping {
 				`ldap_dn` AS `dn`,
 				`owncloud_name` AS `name`,
 				`directory_uuid` AS `uuid`
-			FROM `*PREFIX*ldap_user_mapping`',
+			FROM `' . $this->getTableName() . '`',
 			$limit,
 			$offset
 		);