From aedc0504a13353a81595cdb2a6d6b6f01ffd0e6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 19 Jul 2013 16:15:16 +0200 Subject: [PATCH] Set packageID in SmileyImporter --- .../install/files/lib/system/importer/SmileyImporter.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/importer/SmileyImporter.class.php b/wcfsetup/install/files/lib/system/importer/SmileyImporter.class.php index 10dbde0b6f..498a1fee9e 100644 --- a/wcfsetup/install/files/lib/system/importer/SmileyImporter.class.php +++ b/wcfsetup/install/files/lib/system/importer/SmileyImporter.class.php @@ -21,6 +21,8 @@ class SmileyImporter implements IImporter { $data['smileyPath'] = 'images/smilies/'.basename($additionalData['fileLocation']); if (!@copy($additionalData['fileLocation'], WCF_DIR.$data['smileyPath'])) return 0; + $data['packageID'] = 1; + // save smiley $smiley = SmileyEditor::create($data); -- 2.20.1