source: branches/version-2_5-dev/patches/MDB2_Driver_pgsql.php.patch @ 19711

Revision 19711, 734 bytes checked in by nanasess, 13 years ago (diff)
  • #748(モバイルのデザイン管理機能)
    • dtb_pagelayout, dtb_bloc, dtb_blocposition のプライマリーキー変更, device_type_id 追加
    • 管理画面のメニュー修正
RevLine 
[19675]1=== modified file 'data/module/MDB2/Driver/pgsql.php'
2--- data/module/MDB2/Driver/pgsql.php   2010-07-06 08:39:45 +0000
3+++ data/module/MDB2/Driver/pgsql.php   2010-11-18 05:39:27 +0000
4@@ -929,7 +929,9 @@
5                     } elseif (is_array($types) && array_key_exists($parameter, $types)) {
6                         $pgtypes[] = $this->datatype->mapPrepareDatatype($types[$parameter]);
7                     } else {
8-                        $pgtypes[] = 'text';
9+                        if (version_compare(PHP_VERSION, '5.0.0', '>')) {
10+                            $pgtypes[] = 'text';
11+                        }
12                     }
13                 }
14                 if (($key_parameter = array_search($name, $positions))) {
15
Note: See TracBrowser for help on using the repository browser.