vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jftho...@apache.org
Subject svn commit: r753283 - /incubator/vcl/trunk/web/.ht-inc/images.php
Date Fri, 13 Mar 2009 14:35:20 GMT
Author: jfthomps
Date: Fri Mar 13 14:35:19 2009
New Revision: 753283

URL: http://svn.apache.org/viewvc?rev=753283&view=rev
Log:
VCL-105

modified printAddSubimage, removed unset($images[$iamgeid])
also found and fixed bug where an unnecessary line was being printed because an else statement
didn't have braces with it

Modified:
    incubator/vcl/trunk/web/.ht-inc/images.php

Modified: incubator/vcl/trunk/web/.ht-inc/images.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/images.php?rev=753283&r1=753282&r2=753283&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/images.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/images.php Fri Mar 13 14:35:19 2009
@@ -1878,11 +1878,11 @@
 		}
 		print "<br>Add additional subimage:<br><br>\n";
 	}
-	else
+	else {
 		print "There are currently no subimages for <strong>";
 		print "{$images[$imageid]["prettyname"]}</strong>.<br><br>";
+	}
 	print "<FORM action=\"" . BASEURL . SCRIPT . "\" method=post>\n";
-	unset($images[$imageid]);
 	printSelectInput("addimageid", $images, -1, 1);
 	$cdata = $data;
 	$cdata['imageid'] = $imageid;



Mime
View raw message