The variable $db seems to be never defined

The variable $db seems to be never defined on line 154
This commit is contained in:
Frédéric FRANCE 2019-12-08 13:40:55 +01:00 committed by GitHub
parent dbbe40ca3d
commit f0af450494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ abstract class ActionsCardCommon
public function assign_values(&$action, $id = 0, $ref = '')
{
// phpcs:enable
global $conf, $langs, $user, $mysoc, $canvas;
global $conf, $langs, $db, $user, $mysoc, $canvas;
global $form, $formadmin, $formcompany;
if ($action == 'add' || $action == 'update') $this->assign_post($action);