Author: jfthomps
Date: Fri Mar 13 21:42:45 2009
New Revision: 753439
URL: http://svn.apache.org/viewvc?rev=753439&view=rev
Log:
VCL-108
modified getResourcePrivRowHTML: added call to preg_replace to replace all
apostrophes in $text with ' before returning it
Modified:
incubator/vcl/trunk/web/.ht-inc/privileges.php
Modified: incubator/vcl/trunk/web/.ht-inc/privileges.php
URL:
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/privileges.php?rev=753439&r1=753438&r2=753439&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/privileges.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/privileges.php Fri Mar 13 21:42:45 2009
@@ -1841,6 +1841,7 @@
if($blocked) {
$js .= "changeCascadedRights(true, $rownum, $count, 0, 0);";
}
+ $text = preg_replace("/'/", ''', $text);
return array('html' => $text,
'javascript' => $js);
}