| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.8 Free | |
| 4 | + * @version 3.1.14 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <[email protected]> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | 8 | * @copyright Copyright © 2026 FirePlugins All Rights Reserved |
| @@ -19,8 +19,16 @@ | ||
| 19 | 19 | use FPFramework\Includes\DB; |
| 20 | 20 | |
| 21 | 21 | class Boxlogdetails extends DB |
| 22 | 22 | { |
| 23 | + /** | |
| 24 | + * The column list below covers this table in full, so inserts can safely be | |
| 25 | + * restricted to it. | |
| 26 | + * | |
| 27 | + * @var bool | |
| 28 | + */ | |
| 29 | + protected $enforce_insert_columns = true; | |
| 30 | + | |
| 23 | 31 | public function __construct() |
| 24 | 32 | { |
| 25 | 33 | $this->table_name = 'firebox_logs_details'; |
| 26 | 34 | } |
| @@ -33,9 +41,9 @@ | ||
| 33 | 41 | public function get_columns() |
| 34 | 42 | { |
| 35 | 43 | return [ |
| 36 | 44 | 'id' => '%d', |
| 37 | - 'log_id' => '%s', | |
| 45 | + 'log_id' => '%d', | |
| 38 | 46 | 'event' => '%s', |
| 39 | 47 | 'event_source' => '%s', |
| 40 | 48 | 'event_label' => '%s', |
| 41 | 49 | 'date' => '%s', |