lib/stores/modules/mysql_compiler.php 1 location
|
@@ 328-334 (lines=7) @@
|
| 325 |
|
|
| 326 |
|
$tables = implode(', ',array_keys($this->used_tables)); |
| 327 |
|
foreach ( $this->used_tables as $key => $val){ |
| 328 |
|
if ($this->select_tables[$key]) { |
| 329 |
|
if ($this->join_target_properties[$key]) { |
| 330 |
|
$prop_dep.=" and $val.object=target.object "; |
| 331 |
|
} else { |
| 332 |
|
$prop_dep.=" and $val.object=$objects.id "; |
| 333 |
|
} |
| 334 |
|
} |
| 335 |
|
} |
| 336 |
|
|
| 337 |
|
$join = ""; |
lib/stores/modules/mysql_workspaces_compiler.php 1 location
|
@@ 34-40 (lines=7) @@
|
| 31 |
|
} else { |
| 32 |
|
$tables="$key"; |
| 33 |
|
} |
| 34 |
|
if ($this->select_tables[$key]) { |
| 35 |
|
if ($this->join_target_properties[$key]) { |
| 36 |
|
$prop_dep.=" and $val.object=target.object "; |
| 37 |
|
} else { |
| 38 |
|
$prop_dep.=" and $val.object=$objects.id "; |
| 39 |
|
} |
| 40 |
|
} |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
$join = ""; |