Loading insert_view.module +2 −1 Changes for insert_view.module: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,8 +48,9 @@ Valid examples: /** * Helper function to replace the tag syntax with the actual view. */ function _insert_view_substitute_tags($text, $format) { function _insert_view_substitute_tags($text) { if (preg_match_all("/\[view:([^=\]]+)=?([^=\]]+)?=?([^\]]*)?\]/i", $text, $match)) { $search = $replace = array(); foreach ($match[0] as $key => $value) { $view_name = $match[1][$key]; $display_id = ($match[2][$key] && !is_numeric($match[2][$key])) ? $match[2][$key] : 'default'; Loading Loading
insert_view.module +2 −1 Changes for insert_view.module: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,8 +48,9 @@ Valid examples: /** * Helper function to replace the tag syntax with the actual view. */ function _insert_view_substitute_tags($text, $format) { function _insert_view_substitute_tags($text) { if (preg_match_all("/\[view:([^=\]]+)=?([^=\]]+)?=?([^\]]*)?\]/i", $text, $match)) { $search = $replace = array(); foreach ($match[0] as $key => $value) { $view_name = $match[1][$key]; $display_id = ($match[2][$key] && !is_numeric($match[2][$key])) ? $match[2][$key] : 'default'; Loading