Index: branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php =================================================================== diff -u -r5602 -r5609 --- branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5602) +++ branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5609) @@ -417,9 +417,18 @@ * @param Array $params * @return bool */ - function PasteEnabled($params) + function HasClipboard($params) { - return $this->Application->RecallVar($this->getPrefixSpecial().'_clipboard') ? 1 : 0; + $clipboard = $this->Application->RecallVar('clipboard'); + if ($clipboard) { + $clipboard = unserialize($clipboard); + foreach ($clipboard as $prefix => $clipboard_data) { + foreach ($clipboard_data as $mode => $ids) { + if (count($ids)) return 1; + } + } + } + return 0; } }