Skip to content

Commit

Permalink
reorganize quote()
Browse files Browse the repository at this point in the history
  • Loading branch information
h-karim committed Jun 4, 2020
1 parent a64871b commit 2ac6652
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class ImagingBrowserRowProvisioner extends \LORIS\Data\Provisioners\DBRowProvisi
/**
* Create an ImagingBrowserRowProvisioner, which gets rows for
* the imaging browser menu table.
*
* @throws \ConfigurationException
*/
function __construct()
Expand Down Expand Up @@ -114,8 +115,8 @@ class ImagingBrowserRowProvisioner extends \LORIS\Data\Provisioners\DBRowProvisi
$pass[$id] = $type . 'pass';
$qc[$id] = $type . 'QC';
$coalesce_desc[$id] = $DB->quote($pass[$id] . '.' . $qc[$id]);
$pass[$id] = $DB->quote($pass[$id]);
$qc[$id] = $DB->quote($qc[$id]);
$pass[$id] = $DB->quote($pass[$id]);
$qc[$id] = $DB->quote($qc[$id]);
$case_desc[$id] = "
CASE
COALESCE($coalesce_desc[$id], '')
Expand Down

0 comments on commit 2ac6652

Please sign in to comment.