ChangeSet ID: 26255 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/06 18:44:52 Modified files: . : addcomment.php Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Fix adding new comments. We were using 'body' instead of 'sBody' Patch: http://cvs.winehq.org/patch.py?id=26255 Old revision New revision Changes Path 1.29 1.30 +1 -1 appdb/addcomment.php Index: appdb/addcomment.php diff -u -p appdb/addcomment.php:1.29 appdb/addcomment.php:1.30 --- appdb/addcomment.php:1.29 6 Jul 2006 23:44:52 -0000 +++ appdb/addcomment.php 6 Jul 2006 23:44:52 -0000 @@ -77,7 +77,7 @@ if(!empty($aClean['sBody'])) echo " <td> ".$_SESSION['current']->sRealname."</td></tr>\n"; echo "<tr class=\"color0\"><td align=right><b>Subject:</b> </td>\n"; echo " <td> <input type=\"text\" size=\"35\" name=\"sSubject\" value=\"".$aClean['sSubject']."\" /> </td></tr>\n"; - echo "<tr class=\"color1\"><td colspan=2><textarea name=\"body\" cols=\"70\" rows=\"15\" wrap=\"virtual\">".$aClean['sBody']."</textarea></td></tr>\n"; + echo "<tr class=\"color1\"><td colspan=2><textarea name=\"sBody\" cols=\"70\" rows=\"15\" wrap=\"virtual\">".$aClean['sBody']."</textarea></td></tr>\n"; echo "<tr class=\"color1\"><td colspan=2 align=center>\n"; echo " <input type=\"submit\" value=\"Post Comment\" class=\"button\" />\n"; echo " <input type=\"reset\" value=\"Reset\" class=\"button\" />\n";