Changeset 1486
- Timestamp:
- 06/07/06 06:40:57 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/plugins.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/plugins.php
r1309 r1486 103 103 /** 104 104 * Wrapper functions for plugins 105 * 106 * Notes: Make sure that $value and $default are not escaped strings/arrays of strings, 107 * otherwise they will not come out of the database correctly because of rss_real_escape_string 105 108 */ 106 109 function rss_plugins_add_option($key, $value, $type = "string", $default = "", $desc= "", $export = NULL) { … … 111 114 112 115 if (is_array($value) || $type == 'array') { 113 $value = s tr_replace("'","\'",serialize($value));116 $value = serialize($value); 114 117 } 115 118 $value = rss_real_escape_string($value);
