mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 02:26:25 +02:00
In case the 2 or more join aliases point to the same table, now
the first alias get's saved instead of the last one.
This commit is contained in:
parent
0a3acb2f6d
commit
e96aea8748
@ -3934,7 +3934,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
$keys = array();
|
||||
foreach($matches[1] AS $k=>$v)
|
||||
{
|
||||
if(varset($matches[3][$k]))
|
||||
if(varset($matches[3][$k]) && !array_key_exists($v, $this->joinAlias))
|
||||
{
|
||||
$this->joinAlias[$v] = $matches[3][$k]; // array. eg $this->joinAlias['core_media'] = 'm';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user