engine/classes/Elgg/Database/PrivateSettingsTable.php 1 location
|
@@ 190-196 (lines=7) @@
|
| 187 |
|
} |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
if ($names_where && $values_where) { |
| 191 |
|
$wheres[] = "($names_where AND $values_where)"; |
| 192 |
|
} elseif ($names_where) { |
| 193 |
|
$wheres[] = "($names_where)"; |
| 194 |
|
} elseif ($values_where) { |
| 195 |
|
$wheres[] = "($values_where)"; |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
// add pairs which must be in arrays. |
| 199 |
|
if (is_array($pairs)) { |
engine/lib/metastrings.php 1 location
|
@@ 439-445 (lines=7) @@
|
| 436 |
|
} |
| 437 |
|
} |
| 438 |
|
|
| 439 |
|
if ($names_where && $values_where) { |
| 440 |
|
$wheres[] = "($names_where AND $values_where)"; |
| 441 |
|
} elseif ($names_where) { |
| 442 |
|
$wheres[] = $names_where; |
| 443 |
|
} elseif ($values_where) { |
| 444 |
|
$wheres[] = $values_where; |
| 445 |
|
} |
| 446 |
|
|
| 447 |
|
$wheres[] = _elgg_get_access_where_sql(array( |
| 448 |
|
'table_alias' => $table, |