summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/TDbCommand.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php
index 82e46a25..98bb31ea 100644
--- a/framework/Data/TDbCommand.php
+++ b/framework/Data/TDbCommand.php
@@ -177,11 +177,7 @@ class TDbCommand extends TComponent
return $this->_statement->rowCount();
}
else
- {
- $int = $this->getConnection()->getPdoInstance()->exec($this->getText());
- var_dump($int);
- return $int;
- }
+ return $this->getConnection()->getPdoInstance()->exec($this->getText());
}
catch(Exception $e)
{