danielbachhuber/Edit-Flow — pull request #148 by cojennin (2013-01-30 16:48:54+00:00)
Title: Fixed a reference error with get_post.

This pull relates to a [problem encountered](http://wordpress.org/support/topic/class-module-error-on-update?replies=4). on the Edit Flow plugin forums.

There's an issue with [get_post](http://codex.wordpress.org/Function_Reference/get_post) where the $post_id needs to be a variable. In this situation it was being passed into get_post without being variabalized correctly. Might have something to do with the casting or $_REQUEST in general. It's actually kind of a weird thing, I'm gonna look into it in more depth.

I'm unsure how to test this effectively. I just messed around as much as I could to see if anything happened, and nothing triggered. I might just try and set it so that the esleif its contained it automatically triggers every time and see what happens.