summaryrefslogtreecommitdiff
path: root/cpp/src/slice2php/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r--cpp/src/slice2php/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp
index f2427500090..b8ea7802fd4 100644
--- a/cpp/src/slice2php/Main.cpp
+++ b/cpp/src/slice2php/Main.cpp
@@ -391,7 +391,7 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
//
// Define the proxy class.
//
- if(!p->isLocal())
+ if(!p->isLocal() && isAbstract)
{
_out << sp << nl << "class " << prxName << "Helper";
_out << sb;