These methods are called statically so make them static.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
}
- function MultiByteCharString2HTML($string, $charset='ISO-8859-1') {
+ static function MultiByteCharString2HTML($string, $charset='ISO-8859-1') {
$HTMLstring = '';
switch ($charset) {
return (isset($ImageTypesLookup[$imagetypeid]) ? $ImageTypesLookup[$imagetypeid] : '');
}
- function CopyTagsToComments(&$ThisFileInfo) {
+ static function CopyTagsToComments(&$ThisFileInfo) {
// Copy all entries from ['tags'] into common ['comments']
if (!empty($ThisFileInfo['tags'])) {