Page 1 of 1

Two small corrections

Posted: Mon Sep 11, 2006 4:01 pm
by mahjong
Two small corrections :
  • selected in edithtmlblob
  • space missing in listmodule

Code: Select all

Index: edithtmlblob.php
===================================================================
--- edithtmlblob.php	(revision 3422)
+++ edithtmlblob.php	(working copy)
@@ -197,7 +197,7 @@
 	$newresult = $db->Execute($query,array($htmlblob_id));
 	if ($newresult && $newresult->RecordCount() > 0)
 	{
-		$addt_users .= " selected=\"true\"";
+		$addt_users .= " selected=\"selected\"";
 	}
 	$addt_users .= ">".$row["username"]."</option>";
 }
Index: listmodules.php
===================================================================
--- listmodules.php	(revision 3422)
+++ listmodules.php	(working copy)
@@ -574,7 +574,7 @@
 					while ($result && $row = $result->FetchRow()) {
 						$dependentof[$row['child_module']] = "";
 					}
-					$str = implode(array_keys($dependentof),",");
+					$str = implode(array_keys($dependentof),', ');
 					$activecol = ($dbm[$key]['Active']==true?$image_true:"<a href='listmodules.php?action=settrue&module=".$key."'>".$image_false."</a>");
 					$statuscol .= "<br/>".lang('hasdependents')." (<strong>$str</strong>)";
 					// END HAS DEPENDENTS ===========
[gelöscht durch Administrator]