From a7346444c17770fea34d6653011029c291070c4c Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 09 Jul 2012 18:01:36 +0000
Subject: [PATCH] Dodanie testu proc_open do test.php (moduł słownika ortograficznego wykorzystuje komendę aspell)

---
 modules/80_lang/handler.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/80_lang/handler.php b/modules/80_lang/handler.php
index 1e4a4f3..5dee1a6 100644
--- a/modules/80_lang/handler.php
+++ b/modules/80_lang/handler.php
@@ -15,7 +15,7 @@
 		
 		foreach($params as $name => &$param) {
 			if(substr($name, 0, 1)!='$' && is_string($param)) {
-				$param = '\''.$param.'\'';
+				$param = '\''.strtr($param, array('\'' => '\'\'')).'\'';
 			}
 		}
 		unset($param);

--
Gitblit v1.9.1