Correct typo in comments

This commit is contained in:
Darren Inwood 2014-03-25 10:06:09 +13:00
parent 79c381e6fa
commit c3a0e33f14
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ abstract class SolrIndex extends SearchIndex {
function delete($base, $id, $state) {
// HACK: States should be kept as integers throughout,
// so that json_enbcode always encodes them the same.
// so that json_encode always encodes them the same.
if (is_array($state)) {
foreach ($state as $key => $val) {
$state[$key] = (int)$val;