projects
/
WP-Themes
/
glmthemes
/
mountpleasant-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
312815e
)
attempting to fix 500 internal server error presumably caused by function
author
Laury GvR
<laury@gaslightmedia.com>
Mon, 28 Sep 2015 17:07:43 +0000
(13:07 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Mon, 28 Sep 2015 17:07:43 +0000
(13:07 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
bf3fdf6
..
0cd884f
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-421,7
+421,7
@@
add_action('thematic_searchloop', 'mytheme_search_loop');
function custom_content($content) {
global $post;
- if (
$_GET['glm_action']
== "detail" ) {
+ if (
'a'
== "detail" ) {
if ( preg_match_all( '/'. get_shortcode_regex() .'/s', $post->post_content, $matches )
&& array_key_exists( 2, $matches )
&& in_array( 'glm-members-list', $matches[2] ) )