[xoops-cvslog 347] CVS update: xoops2jp/html

Back to archive index

NobuNobu nobun****@users*****
2005年 8月 21日 (日) 12:19:46 JST


Index: xoops2jp/html/imagemanager.php
diff -u xoops2jp/html/imagemanager.php:1.4 xoops2jp/html/imagemanager.php:1.4.2.1
--- xoops2jp/html/imagemanager.php:1.4	Wed Aug  3 21:39:11 2005
+++ xoops2jp/html/imagemanager.php	Sun Aug 21 12:19:46 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: imagemanager.php,v 1.4 2005/08/03 12:39:11 onokazu Exp $
+// $Id: imagemanager.php,v 1.4.2.1 2005/08/21 03:19:46 nobunobu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -232,7 +232,7 @@
                 $fp = @fopen($uploader->getSavedDestination(), 'rb');
                 $fbinary = @fread($fp, filesize($uploader->getSavedDestination()));
                 @fclose($fp);
-                $image->setVar('image_body', addslashes($fbinary));
+                $image->setVar('image_body', $fbinary, true);
                 @unlink($uploader->getSavedDestination());
             }
             if (!$image_handler->insert($image)) {


xoops-cvslog メーリングリストの案内
Back to archive index