WordPress.org

Plugin Directory

Changeset 960595


Ignore:
Timestamp:
08/05/14 15:47:56 (3 years ago)
Author:
faina09
Message:

0.14

  • fix create table MySQL 5.6
Location:
wp-fjqgrid/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-fjqgrid/trunk/inc/wpf-jqgrid-db.php

    r878671 r960595  
    2929            $i = 0; 
    3030            foreach ( $fieldsnames as $field ) { 
    31                 $fieldsdescr .= $field . ' ' . $fieldsdefs[$i++] . ', '; 
    32             } 
    33  
    34             $sql_create_table = "CREATE TABLE `{$this->tablename}` ( 
     31                $fieldsdescr .= '`'.$field . '` ' . $fieldsdefs[$i++] . ', '; 
     32            } 
     33 
     34            $sql_create_table = "CREATE TABLE IF NOT EXISTS `{$this->tablename}` ( 
    3535                {$fieldsdescr}  
    3636                PRIMARY KEY  ($keyfield) 
  • wp-fjqgrid/trunk/index.php

    r957924 r960595  
    44  Plugin URI: http://wordpress.org/extend/plugins/wpf-jqgrid/ 
    55  Description: jqGrid porting to wordpress. Use shortcode like <code>[wpf-jqgrid table='wpf_jqgrid_sample' idtable=1 caption='name to display' editable=true]</code>  
    6   Version: 0.13 
     6  Version: 0.14 
    77  Author: faina09 
    88  Author URI: http://profiles.wordpress.org/faina09 
    99  License: GPLv2 or later 
    1010 */ 
    11 $VER = '0.13'; 
     11$VER = '0.14'; 
    1212defined( 'ABSPATH' ) OR exit; 
    1313 
  • wp-fjqgrid/trunk/readme.txt

    r957924 r960595  
    7474 
    7575== Changelog == 
     76= 0.14 = 
     77* fix create table MySQL 5.6 
    7678= 0.13 = 
    7779* fix ob_clean 
  • wp-fjqgrid/trunk/wpf-jqgrid.php

    r878671 r960595  
    206206                            break; 
    207207                        default: 
    208                             //here are the fields names - fields types couples 
    209                             $fields[] = $frmarray[0]; 
    210                             $types[] = $frmarray[1]; 
     208                            if (isset ( $frmarray[1] ) ) { 
     209                                //here are the fields names - fields types couples 
     210                                $fields[] = $frmarray[0]; 
     211                                $types[] =  $frmarray[1]; 
     212                            } 
    211213                            break; 
    212214                    } 
Note: See TracChangeset for help on using the changeset viewer.