diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index a48cf36c117..ee7be63d22a 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -124,8 +124,9 @@ class FormTicket /** * Show the form to input ticket * - * @param int $withdolfichehead With dol_fiche_head - * @return void + * @param int $withdolfichehead With dol_fiche_head + * @param string Mode ('create' or 'edit') + * @return void */ public function showForm($withdolfichehead = 0, $mode = 'edit') { diff --git a/scripts/user/migrate_picture_path.php b/scripts/user/migrate_picture_path.php index f478c42b865..b0ca99dd977 100755 --- a/scripts/user/migrate_picture_path.php +++ b/scripts/user/migrate_picture_path.php @@ -83,6 +83,7 @@ $db->close(); // Close $db database opened handler exit($error); + /** * Migrate file from old path to new one for user $u * @@ -105,7 +106,6 @@ function migrate_user_filespath($u) dol_mkdir($destin); if (dol_is_dir($origin)) { - $handle = opendir($origin_osencoded); if (is_resource($handle)) { while (($file = readdir($handle)) !== false) {