From: Tim Düsterhus Date: Fri, 19 Jul 2013 14:15:16 +0000 (+0200) Subject: Set packageID in SmileyImporter X-Git-Tag: 2.0.0_Beta_5~34^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aedc0504a13353a81595cdb2a6d6b6f01ffd0e6e;p=GitHub%2FWoltLab%2FWCF.git Set packageID in SmileyImporter --- 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);