Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2008 at 13:00 UTC
Updated:
14 Jan 2009 at 12:00 UTC
Diff speaks for itself:
Index: contemplate.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/contemplate/contemplate.module,v
retrieving revision 1.8.4.55
diff -u -p -r1.8.4.55 contemplate.module
--- contemplate.module 29 Dec 2008 00:22:18 -0000 1.8.4.55
+++ contemplate.module 30 Dec 2008 12:57:47 -0000
@@ -37,9 +37,9 @@ function contemplate_help($path, $arg) {
}
}
--/**
--* Menu callback; loads a flexifilter object
--*/
+/**
+ * Menu callback; loads a flexifilter object
+ */
function contemplate_node_type_load($index, $map_array) {
$types = node_get_types();
$type = $map_array[$index];
Without wishing to appear snarky: I've found that testing a patched version prior to commit does wonders in avoiding stuff like this. :)
Comments
Comment #1
jrglasgow commentedArancaytar,
In the future it would be useful if you could attach the patch file to your comment.
I have committed the changes.
Comment #2
eMPee584 commentedOh snarky one, i am so sorry, i will not do so again. My deepest apologies.
Edit: i mean it ;)
that was stupid and unnecessary *g
Comment #3
cburschkaYes, sorry. It's just that I have to download and upload the patch file, while I can copy-paste the diff from the shell, so it seemed overkill for a short fix like this.