Skip to content
Snippets Groups Projects
Commit 99d431c1 authored by Uma's avatar Uma
Browse files

Fixes #1187 Custom module restore of records

parent 09f8c6f4
No related branches found
No related tags found
1 merge request!506Fixes #1187 Custom module restore of records
......@@ -27,7 +27,7 @@ class Vtiger_CRMEntity extends CRMEntity {
function __construct() {
global $log;
$this->column_fields = getColumnFields(get_class($this));
$this->db = new PearDatabase();
$this->db = PearDatabase::getInstance();
$this->log = $log;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment