From 9912fd08e37515f571f3e5ca99940693a90399bf Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 21 Feb 2013 14:24:45 -0800 Subject: [PATCH] Fix issue when creating a new mock in Pholio Summary: Fix T2573. The way Lisk works, we try to save "protected" fields to the database. For non-database data, use "private". Test Plan: Created a new mock. Reviewers: chad, ljalonen Reviewed By: chad CC: aran Maniphest Tasks: T2573 Differential Revision: https://secure.phabricator.com/D5053 --- src/applications/pholio/storage/PholioImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/pholio/storage/PholioImage.php b/src/applications/pholio/storage/PholioImage.php index f765a6a20e..ea3677e53d 100644 --- a/src/applications/pholio/storage/PholioImage.php +++ b/src/applications/pholio/storage/PholioImage.php @@ -13,8 +13,8 @@ final class PholioImage extends PholioDAO protected $name = ''; protected $description = ''; protected $sequence; - protected $inlineComments; + private $inlineComments; private $file; public function attachInlineComments(array $inline_comments) {