Merge pull request #3539 from MateBartus/ticket/13766

[ticket/13766] Add style_parent_id in textformater's data_access::get_st...
This commit is contained in:
Tristan Darricau 2015-04-17 00:07:04 +02:00
commit ecc65f564d

View file

@ -115,7 +115,7 @@ class data_access
*/
protected function get_styles()
{
$sql = 'SELECT style_id, style_path, bbcode_bitfield FROM ' . $this->styles_table;
$sql = 'SELECT style_id, style_path, style_parent_id, bbcode_bitfield FROM ' . $this->styles_table;
$result = $this->db->sql_query($sql);
$rows = $this->db->sql_fetchrowset($result);
$this->db->sql_freeresult($result);