Skip to content
Snippets Groups Projects
Commit 4af74b52 authored by Tim Otten's avatar Tim Otten
Browse files

Merge pull request #2740 from eileenmcnaughton/strict_warnings

fix function to be static to avoid strict warnings
parents b7e29132 b3a8489c
Branches
Tags
No related merge requests found
......@@ -1135,7 +1135,7 @@ LIMIT {$offset}, {$rowCount}
/**
* Function to retrieve Paper Size dimensions
*/
function paperSize() {
static function paperSize() {
$paperSizeName = CRM_Utils_Type::escape($_REQUEST['paperSizeName'], 'String');
$paperSize = CRM_Core_BAO_PaperSize::getByName($paperSizeName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment