Skip to content

Commit

Permalink
Merge pull request #9 from dlobo/CRM-12656
Browse files Browse the repository at this point in the history
CRM-12656
  • Loading branch information
kurund committed May 24, 2013
2 parents e22f607 + 3af05e5 commit 5319c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function civicrm_source($fileName, $lineMode = FALSE) {
foreach ($queries as $query) {
$query = trim($query);
if (!empty($query)) {
$res = &$db->query($query);
$res =& $db->query($query);
if (PEAR::isError($res)) {
die("Cannot execute $query: " . $res->getMessage());
}
Expand All @@ -185,7 +185,7 @@ function civicrm_source($fileName, $lineMode = FALSE) {
$string = ereg_replace("\n\-\-[^\n]*\n", "\n", $string);
$string = trim($string);
if (!empty($string)) {
$res = &$db->query($string);
$res =& $db->query($string);
if (PEAR::isError($res)) {
die("Cannot execute $string: " . $res->getMessage());
}
Expand Down

0 comments on commit 5319c3b

Please sign in to comment.