From 659c01ccc3ef7db6a0e92e7a25fdcdc76695830d Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 11 Jul 2014 07:37:27 +0200 Subject: [PATCH 1/3] initialize intErrorCode if no Error occured --- include/dba_pdo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dba_pdo.php b/include/dba_pdo.php index 7cd8c638e7..eed9ea1251 100644 --- a/include/dba_pdo.php +++ b/include/dba_pdo.php @@ -126,6 +126,7 @@ class dba { # bad workaround to emulate the bizzare behavior of mysql_query if(in_array($strSQLType, array('INSERT', 'UPDATE', 'DELETE', 'CREATE', 'DROP', 'SET'))) $result = true; + $intErrorCode = false; } catch (\Exception $objException) { $result = false; From b1d9483befc28f3ac1e03409b80de5c9956801ad Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 11 Jul 2014 07:40:34 +0200 Subject: [PATCH 2/3] allow scaling on mobile themes --- view/theme/decaf-mobile/templates/head.tpl | 12 +----------- view/theme/frost-mobile/templates/head.tpl | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/view/theme/decaf-mobile/templates/head.tpl b/view/theme/decaf-mobile/templates/head.tpl index 07398391f1..665dd961c7 100644 --- a/view/theme/decaf-mobile/templates/head.tpl +++ b/view/theme/decaf-mobile/templates/head.tpl @@ -1,18 +1,8 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{**}} - -{{**}} + -{{**}} diff --git a/view/theme/frost-mobile/templates/head.tpl b/view/theme/frost-mobile/templates/head.tpl index d11d072f26..41e9dad8e5 100644 --- a/view/theme/frost-mobile/templates/head.tpl +++ b/view/theme/frost-mobile/templates/head.tpl @@ -1,18 +1,8 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{**}} - -{{**}} + -{{**}} From e3ac4b2746656799d50d60ca4943ad02f44fda4f Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 12 Jul 2014 12:29:58 +0200 Subject: [PATCH 3/3] removing commented out stuff --- view/theme/decaf-mobile/templates/head.tpl | 3 --- view/theme/frost-mobile/templates/head.tpl | 2 -- 2 files changed, 5 deletions(-) diff --git a/view/theme/decaf-mobile/templates/head.tpl b/view/theme/decaf-mobile/templates/head.tpl index 665dd961c7..9d815efcf2 100644 --- a/view/theme/decaf-mobile/templates/head.tpl +++ b/view/theme/decaf-mobile/templates/head.tpl @@ -3,9 +3,6 @@ - - --->*}} diff --git a/view/theme/frost-mobile/templates/head.tpl b/view/theme/frost-mobile/templates/head.tpl index 41e9dad8e5..abc4fa731e 100644 --- a/view/theme/frost-mobile/templates/head.tpl +++ b/view/theme/frost-mobile/templates/head.tpl @@ -3,8 +3,6 @@ - --->*}}