Subversion Repositories ALCASAR

Rev

Rev 2698 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2698 Rev 2843
Line 102... Line 102...
102
				}
102
				}
103
				else if (isset($attr_type["$key"]) && $attr_type["$key"] == 'replyItem'){
103
				else if (isset($attr_type["$key"]) && $attr_type["$key"] == 'replyItem'){
104
					$table = "$config[sql_reply_table]";
104
					$table = "$config[sql_reply_table]";
105
					$type = 2;
105
					$type = 2;
106
				}
106
				}
107
				$val = (isset($$attrmap["$key"])) ? $$attrmap["$key"] : '';
107
				$val = (isset($_POST[$attrmap["$key"]])) ? $_POST[$attrmap["$key"]] : '';
108
				$val = da_sql_escape_string($link, $val);
108
				$val = da_sql_escape_string($link, $val);
109
				$op_name = $attrmap["$key"] . '_op';
109
				$op_name = $attrmap["$key"] . '_op';
110
				$op_val = (isset($$op_name)) ? $$op_name : '';
110
				$op_val = (isset($$op_name)) ? $$op_name : '';
111
				if ($op_val != ''){
111
				if ($op_val != ''){
112
					$op_val = da_sql_escape_string($link, $op_val);
112
					$op_val = da_sql_escape_string($link, $op_val);