projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1aa9edc
)
whoops, article saving didn't work anymore
author
zapata
<zapata>
Sat, 24 May 2003 15:56:38 +0000
(15:56 +0000)
committer
zapata
<zapata>
Sat, 24 May 2003 15:56:38 +0000
(15:56 +0000)
source/mircoders/servlet/ServletModuleContent.java
patch
|
blob
|
history
diff --git
a/source/mircoders/servlet/ServletModuleContent.java
b/source/mircoders/servlet/ServletModuleContent.java
index
2730972
..
f62ce11
100755
(executable)
--- a/
source/mircoders/servlet/ServletModuleContent.java
+++ b/
source/mircoders/servlet/ServletModuleContent.java
@@
-71,7
+71,7
@@
import freemarker.template.SimpleHash;
* ServletModuleContent -
* deliver html for the article admin form.
*
* ServletModuleContent -
* deliver html for the article admin form.
*
- * @version $Id: ServletModuleContent.java,v 1.52
2003/05/08 02:43:42
zapata Exp $
+ * @version $Id: ServletModuleContent.java,v 1.52
.2.1 2003/05/24 15:56:38
zapata Exp $
* @author rk, mir-coders
*
*/
* @author rk, mir-coders
*
*/
@@
-188,6
+188,10
@@
public class ServletModuleContent extends ServletModule
if (!withValues.containsKey("is_html"))
withValues.put("is_html","0");
if (!withValues.containsKey("is_html"))
withValues.put("is_html","0");
+ String webdbCreate = (String) withValues.get("webdb_create");
+ if (webdbCreate==null || webdbCreate.trim().length()==0)
+ withValues.remove("webdb_create");
+
String id = mainModule.add(withValues);
List topics;
String id = mainModule.add(withValues);
List topics;
@@
-326,6
+330,10
@@
public class ServletModuleContent extends ServletModule
if (!withValues.containsKey("is_html"))
withValues.put("is_html","0");
if (!withValues.containsKey("is_html"))
withValues.put("is_html","0");
+ String webdbCreate = (String) withValues.get("webdb_create");
+ if (webdbCreate==null || webdbCreate.trim().length()==0)
+ withValues.remove("webdb_create");
+
String id = mainModule.set(withValues);
DatabaseContentToTopics.getInstance().setTopics(aRequest.getParameter("id"), aRequest.getParameterValues("to_topic"));
String id = mainModule.set(withValues);
DatabaseContentToTopics.getInstance().setTopics(aRequest.getParameter("id"), aRequest.getParameterValues("to_topic"));