diff --git a/www/admin/class_test.php b/www/admin/class_test.php index 64fbd4e7..dca655aa 100644 --- a/www/admin/class_test.php +++ b/www/admin/class_test.php @@ -69,7 +69,7 @@ print '
Class Test: RANDOM KEY
' print '
Class Test: SYSTEM
'; print '
Class Test: RUNNING TIME
'; print '
Class Test: DEBUG
'; -print '
Class Test: FORM
'; +print '
Class Test: OUTPUT FORM
'; print '
Class Test: BACKEND ADMIN CLASS
'; print '
Class Test: LANG/L10n
'; print '
Class Test: SMARTY
'; diff --git a/www/lib/CoreLibs/DB/IO.php b/www/lib/CoreLibs/DB/IO.php index 078e1e31..594b9f36 100644 --- a/www/lib/CoreLibs/DB/IO.php +++ b/www/lib/CoreLibs/DB/IO.php @@ -901,7 +901,7 @@ class IO * - if many this will also hold all non pk names too * then try to fill insert_id_arr, this is always multi level * - fill key: value as single array or multi array - * insert_id_ext + * insert_id_ext [DEPRECATED, all in insert_id_arr] * - holds all returning as array * TODO: Only use insert_id_arr and use functions to get ok array or single * @param boolean $returning_id @@ -2344,6 +2344,8 @@ class IO * * On multiple insert return the position for which to return can be set too * + * Replacement for insert_id_ext array access before + * * @param string|null $key * @param integer|null $pos * @return array|string|int|null diff --git a/www/lib/CoreLibs/Output/Form/Generate.php b/www/lib/CoreLibs/Output/Form/Generate.php index 147c749a..aa03d417 100644 --- a/www/lib/CoreLibs/Output/Form/Generate.php +++ b/www/lib/CoreLibs/Output/Form/Generate.php @@ -371,7 +371,7 @@ class Generate extends \CoreLibs\DB\Extended\ArrayIO $this->load_query = $config_array['load_query']; } $this->archive_pk_name = 'a_' . $this->pk_name; - $this->col_name = str_replace('_id', '', $this->pk_name); + $this->col_name = str_replace('_id', '', $this->pk_name ?? ''); $this->int_pk_name = $this->pk_name; // check if reference_arrays are given and proceed them if (isset($config_array['reference_arrays']) && is_array($config_array['reference_arrays'])) {