diff --git a/www/admin/class_test.output.form.php b/www/admin/class_test.output.form.php index c7c8ef8a..48767c31 100644 --- a/www/admin/class_test.output.form.php +++ b/www/admin/class_test.output.form.php @@ -32,6 +32,7 @@ $LOG_FILE_ID = 'classTest-form'; ob_end_flush(); // define an array for page use +$table_arrays = []; $table_arrays[\CoreLibs\Get\System::getPageName(1)] = [ // form fields mtaching up with db fields 'table_array' => [ diff --git a/www/lib/CoreLibs/Output/Form/Generate.php b/www/lib/CoreLibs/Output/Form/Generate.php index f7245ffa..55b04bea 100644 --- a/www/lib/CoreLibs/Output/Form/Generate.php +++ b/www/lib/CoreLibs/Output/Form/Generate.php @@ -321,9 +321,9 @@ class Generate extends \CoreLibs\DB\Extended\ArrayIO if (isset($config_array['load_query']) && $config_array['load_query']) { $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->int_pk_name = $this->pk_name; + $this->archive_pk_name = 'a_' . $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'])) { foreach ($config_array['reference_arrays'] as $key => $value) { diff --git a/www/vendor/composer/ClassLoader.php b/www/vendor/composer/ClassLoader.php index fce8549f..1a58957d 100644 --- a/www/vendor/composer/ClassLoader.php +++ b/www/vendor/composer/ClassLoader.php @@ -37,8 +37,8 @@ namespace Composer\Autoload; * * @author Fabien Potencier * @author Jordi Boggiano - * @see http://www.php-fig.org/psr/psr-0/ - * @see http://www.php-fig.org/psr/psr-4/ + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ */ class ClassLoader { @@ -60,7 +60,7 @@ class ClassLoader public function getPrefixes() { if (!empty($this->prefixesPsr0)) { - return call_user_func_array('array_merge', $this->prefixesPsr0); + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); } return array(); diff --git a/www/vendor/composer/autoload_classmap.php b/www/vendor/composer/autoload_classmap.php index 7a91153b..b26f1b13 100644 --- a/www/vendor/composer/autoload_classmap.php +++ b/www/vendor/composer/autoload_classmap.php @@ -6,4 +6,5 @@ $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( + 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', ); diff --git a/www/vendor/composer/autoload_real.php b/www/vendor/composer/autoload_real.php index 2aaffa93..1e9ebbe1 100644 --- a/www/vendor/composer/autoload_real.php +++ b/www/vendor/composer/autoload_real.php @@ -13,6 +13,9 @@ class ComposerAutoloaderInit10fe8fe2ec4017b8644d2b64bcf398b9 } } + /** + * @return \Composer\Autoload\ClassLoader + */ public static function getLoader() { if (null !== self::$loader) { @@ -25,7 +28,7 @@ class ComposerAutoloaderInit10fe8fe2ec4017b8644d2b64bcf398b9 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { - require_once __DIR__ . '/autoload_static.php'; + require __DIR__ . '/autoload_static.php'; call_user_func(\Composer\Autoload\ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9::getInitializer($loader)); } else { diff --git a/www/vendor/composer/autoload_static.php b/www/vendor/composer/autoload_static.php index 3ddff449..906ca2c0 100644 --- a/www/vendor/composer/autoload_static.php +++ b/www/vendor/composer/autoload_static.php @@ -6,9 +6,14 @@ namespace Composer\Autoload; class ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9 { + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + ); + public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { + $loader->classMap = ComposerStaticInit10fe8fe2ec4017b8644d2b64bcf398b9::$classMap; }, null, ClassLoader::class); } diff --git a/www/vendor/composer/installed.json b/www/vendor/composer/installed.json index fe51488c..87fda747 100644 --- a/www/vendor/composer/installed.json +++ b/www/vendor/composer/installed.json @@ -1 +1,5 @@ -[] +{ + "packages": [], + "dev": true, + "dev-package-names": [] +}