Skip to content

Instantly share code, notes, and snippets.

View housser's full-sized avatar

John Housser housser

  • North Vancouver, BC
View GitHub Profile
@housser
housser / remove-tags.sh
Created September 7, 2014 18:02
Remove Git tags based on regular expression, and remove from remote
#!/bin/bash
for i in $( git tag | grep ^6 ); do
#echo item: $i
git tag -d $i
git push origin :refs/tags/$i
done
diff --git a/og.module b/og.module
index 6f28205..a3aa3be 100755
--- a/og.module
+++ b/og.module
@@ -762,6 +762,12 @@ function og_form_group_reference_validate($form, &$form_state) {
if (!empty($form_state['values'][$field_name][LANGUAGE_NONE])) {
return;
}
+
+ // @TODO: Find out why the 'og_group_ref' field isn't getting maintained in the 'values' array by form_builder()