Index: trunk/phase3/includes/api/ApiQueryBlocks.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | if($fld_range) |
85 | 85 | $this->addFields(array('ipb_range_start', 'ipb_range_end')); |
86 | 86 | if($fld_flags) |
87 | | - $this->addFields(array('ipb_auto', 'ipb_anon_only', 'ipb_create_account', 'ipb_enable_autoblock', 'ipb_block_email', 'ipb_deleted')); |
| 87 | + $this->addFields(array('ipb_auto', 'ipb_anon_only', 'ipb_create_account', 'ipb_enable_autoblock', 'ipb_block_email', 'ipb_deleted', 'ipb_allow_usertalk')); |
88 | 88 | |
89 | 89 | $this->addOption('LIMIT', $params['limit'] + 1); |
90 | 90 | $this->addWhereRange('ipb_timestamp', $params['dir'], $params['start'], $params['end']); |
— | — | @@ -166,6 +166,8 @@ |
167 | 167 | $block['noemail'] = ''; |
168 | 168 | if($row->ipb_deleted) |
169 | 169 | $block['hidden'] = ''; |
| 170 | + if($row->ipb_allow_usertalk) |
| 171 | + $block['allowusertalk'] = ''; |
170 | 172 | } |
171 | 173 | $data[] = $block; |
172 | 174 | } |