[limb-svn] r6830 - 3.x/trunk/limb/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo

svn at limb-project.com svn at limb-project.com
Thu Mar 6 16:55:07 MSK 2008


Author: korchasa
Date: 2008-03-06 16:55:07 +0300 (Thu, 06 Mar 2008)
New Revision: 6830
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6830

Modified:
   3.x/trunk/limb/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo/phpThumb.demo.object.php
Log:
small syntax fix in tiny_mce plugin demo

Modified: 3.x/trunk/limb/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo/phpThumb.demo.object.php
===================================================================
--- 3.x/trunk/limb/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo/phpThumb.demo.object.php	2008-03-05 21:03:50 UTC (rev 6829)
+++ 3.x/trunk/limb/wysiwyg/shared/tiny_mce/plugins/ibrowser/scripts/phpThumb/demo/phpThumb.demo.object.php	2008-03-06 13:55:07 UTC (rev 6830)
@@ -52,7 +52,7 @@
 		if ($output_filename) {
 			if ($capture_raw_data && $phpThumb->RenderOutput()) {
 				// RenderOutput renders the thumbnail data to $phpThumb->outputImageData, not to a file or the browser
-				mysql_query("INSERT INTO `table` (`thumbnail`) VALUES ('".mysql_escape_string($phpThumb->outputImageData)."') WHERE (`id` = '".$id."');
+				mysql_query("INSERT INTO `table` (`thumbnail`) VALUES ('".mysql_escape_string($phpThumb->outputImageData)."') WHERE (`id` = '".$id."'");
 			} elseif ($phpThumb->RenderToFile($output_filename)) {
 				// do something on success
 				echo 'Successfully rendered:<br><img src="'.$output_filename.'">';
@@ -74,4 +74,4 @@
 	unset($phpThumb);
 }
 
-?>
\ No newline at end of file
+?>



More information about the limb-svn mailing list