Skip to content

Commit

Permalink
Merge pull request #2387 from dreamsxin/2386
Browse files Browse the repository at this point in the history
Fix #2386
  • Loading branch information
Phalcon committed Apr 28, 2014
2 parents 6f614d3 + c4a4b09 commit 0ec6e07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/di/factorydefault/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ PHP_METHOD(Phalcon_DI_FactoryDefault_CLI, __construct){
object_init_ex(events_manager, phalcon_di_service_ce);
PHALCON_CALL_METHOD(NULL, events_manager, "__construct", name, definition, shared);

PHALCON_INIT_NVAR(name);
ZVAL_STRING(name, "transactions", 1);

PHALCON_INIT_NVAR(definition);
ZVAL_STRING(definition, "Phalcon\\Mvc\\Model\\Transaction\\Manager", 1);

Expand Down

0 comments on commit 0ec6e07

Please sign in to comment.