Skip to content

Commit

Permalink
Revert "[phalcon#14080] - Trying to correct the save on table name/sc…
Browse files Browse the repository at this point in the history
…hema"

This reverts commit ac7677d.
  • Loading branch information
niden committed Jul 5, 2019
1 parent ac7677d commit c6c5a02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phalcon/Mvc/Model.zep
Expand Up @@ -2309,7 +2309,8 @@ abstract class Model implements EntityInterface, ModelInterface, ResultInterface
/**
* Create/Get the current database connection
*/
let readConnection = this->getReadConnection();
let readConnection = this->getReadConnection(),
table = readConnection->escapeIdentifier(table);

/**
* We need to check if the record exists
Expand Down

0 comments on commit c6c5a02

Please sign in to comment.