Skip to content

Instantly share code, notes, and snippets.

View Pythagory's full-sized avatar

Josh R. Pythagory

View GitHub Profile
@Pythagory
Pythagory / gist:f46da35a057a85a1268a
Created September 23, 2014 17:55
Drupal Commerce: Price Product Based on Product Type
{ "rules_price_square_widgets" : {
"LABEL" : "Set price of square widgets",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules", "commerce_line_item", "commerce_product_reference" ],
"ON" : { "commerce_product_calculate_sell_price" : [] },
"IF" : [
{ "entity_has_field" : { "entity" : [ "commerce-line-item" ], "field" : "commerce_product" } },
{ "data_is" : {
"data" : [ "commerce-line-item:commerce-product:type" ],
@Pythagory
Pythagory / drupal-6.31-6.32.diff
Created July 24, 2014 23:57
Patch file showing changes from Drupal core 6.31 to 6.32
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index a858e06..2b8d4af 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,4 +1,8 @@
+Drupal 6.32, 2014-07-16
+----------------------
+- Fixed security issues (multiple vulnerabilities). See SA-CORE-2014-003.
+