diff --git a/runtime/classes/propel/util/BasePeer.php b/runtime/classes/propel/util/BasePeer.php
index <HASH>..<HASH> 100644
--- a/runtime/classes/propel/util/BasePeer.php
+++ b/runtime/classes/propel/util/BasePeer.php
@@ -557,7 +557,7 @@ class BasePeer
 
 				$stmt->bindValue(':p'.$i++, null, PDO::PARAM_NULL);
 
-			} else {
+			} elseif (isset($tableMap) ) {
 
 				$cMap = $dbMap->getTable($tableName)->getColumn($columnName);
 				$type = $cMap->getType();
@@ -591,6 +591,8 @@ class BasePeer
 				}
 
 				$stmt->bindValue(':p'.$i++, $value, $pdoType);
+			} else {
+				$stmt->bindValue(':p'.$i++, $value);
 			}
 		} // foreach
 	}
Added support for populating with params without table names, allows adding for example a count(somecol) as result to the selectcolumns of a criteria and then using addHaving(->getNewCriterion(found, 3))