Fixed SQL statement (missing quotes) reported by Martin Erichsen.
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_clipboard.php
index f799eba..b76c5ae 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *  
-*  (c) 1999-2003 Kasper Skaarhoj (kasper@typo3.com)
+*  (c) 1999-2004 Kasper Skaarhoj (kasper@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is 
@@ -701,8 +701,8 @@ class t3lib_clipboard {
                        // Message:             
                $conf='confirm('.$GLOBALS['LANG']->JScharCode(sprintf(
                        $msg,
-                       $selRecTitle,
-                       $thisRecTitle
+                       t3lib_div::fixed_lgd($selRecTitle,30),
+                       t3lib_div::fixed_lgd($thisRecTitle,30)
                        )).')';
                return $conf;
        }