diff --git includes/entity.inc includes/entity.inc
index a212ff0..d857ac3 100644
--- includes/entity.inc
+++ includes/entity.inc
@@ -758,7 +758,7 @@ class EntityFieldQuery {
    *   Note if the entity type is known, then the following snippet will load
    *   the entities found:
    *   @code
-   *     $result = $query->execute;
+   *     $result = $query->execute();
    *     $entities = entity_load($my_type, array_keys($result[$my_type]));
    *   @endcode
    */
@@ -767,13 +767,14 @@ class EntityFieldQuery {
     drupal_alter('entity_query', $this);
 
     // Execute the query using the correct callback.
-    $result = call_user_func($this->queryCallback(), $this);
+    $function = $this->queryCallback();
+    $result = call_user_func($function, $this);
 
     // Sanity checks.
     if (!empty($this->propertyConditions)) {
       throw new EntityFieldQueryException(t('Property query conditions were not handled in !function.', array('!function' => $function)));
     }
-    if (!empty($this->propertyOrderBy)) {
+    if (!empty($this->propertyOrder)) {
       throw new EntityFieldQueryException(t('Property query order by was not handled in !function.', array('!function' => $function)));
     }
     return $result;
