Index: trunk/extensions/SemanticForms/includes/SF_Utils.inc |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | } else { |
266 | 266 | $cur_value = str_replace("_", " ", $row['page_title']); |
267 | 267 | if ($substring == null) |
268 | | - $pages[] = str_replace("'", "\'", $cur_value); |
| 268 | + $pages[] = $cur_value; |
269 | 269 | else |
270 | 270 | $pages[] = array('title' => $cur_value); |
271 | 271 | // return if we've reached the maximum number of allowed values |