Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/db/dblist.php
Show First 20 Lines • Show All 1759 Lines • ▼ Show 20 Line(s) | |||||
* | * | ||||
* @param string $escaped_alias | * @param string $escaped_alias | ||||
* @param string $string | * @param string $string | ||||
* @return bool | * @return bool | ||||
* @access private | * @access private | ||||
*/ | */ | ||||
private function matchAlias($escaped_alias, $string) | private function matchAlias($escaped_alias, $string) | ||||
{ | { | ||||
return preg_match('/(`' . $escaped_alias . '`|' . $escaped_alias . ')\./', $string); | return preg_match('/\b(`' . $escaped_alias . '`|' . $escaped_alias . ')\./s', $string); | ||||
} | } | ||||
} | } |