From f30fb175b1c3de028db18e28b82510ab71faa37f Mon Sep 17 00:00:00 2001 From: mfaber Date: Sat, 12 Oct 2013 15:13:34 +0200 Subject: [PATCH] Dev: Php type warning --- application/controllers/admin/printablesurvey.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/admin/printablesurvey.php b/application/controllers/admin/printablesurvey.php index 1ac6bd97569..a79ac38e5e6 100644 --- a/application/controllers/admin/printablesurvey.php +++ b/application/controllers/admin/printablesurvey.php @@ -1753,7 +1753,7 @@ private function _array_filter_help($qidattributes, $surveyprintlang, $surveyid) { $newquestiontext = Question::model()->findByAttributes(array('title' => $qidattributes['array_filter'], 'language' => $surveyprintlang, 'sid' => $surveyid))->getAttribute('question'); $output .= "\n

- ".sprintf($clang->gT("Only answer this question for the items you selected in question %s ('%s')"),$qidattributes['array_filter'], flattenText(breakToNewline($newquestiontext['question'])))." + ".sprintf($clang->gT("Only answer this question for the items you selected in question %s ('%s')"),$qidattributes['array_filter'], flattenText(breakToNewline($newquestiontext)))."

\n"; } if(!empty($qidattributes['array_filter_exclude'])) @@ -1761,7 +1761,7 @@ private function _array_filter_help($qidattributes, $surveyprintlang, $surveyid) $newquestiontext = Question::model()->findByAttributes(array('title' => $qidattributes['array_filter_exclude'], 'language' => $surveyprintlang, 'sid' => $surveyid))->getAttribute('question'); $output .= "\n

- ".sprintf($clang->gT("Only answer this question for the items you did not select in question %s ('%s')"),$qidattributes['array_filter_exclude'], breakToNewline($newquestiontext['question']))." + ".sprintf($clang->gT("Only answer this question for the items you did not select in question %s ('%s')"),$qidattributes['array_filter_exclude'], breakToNewline($newquestiontext))."

\n"; } return $output;