Changeset 3020300
- Timestamp:
- 01/11/2024 11:40:32 AM (2 years ago)
- Location:
- wp-crm-system/trunk
- Files:
-
- 5 edited
-
includes/import-export/class-export.php (modified) (1 diff)
-
includes/reports/opportunity-reports.php (modified) (2 diffs)
-
includes/reports/project-reports.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-crm-system.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-crm-system/trunk/includes/import-export/class-export.php
r2761091 r3020300 145 145 // Make sure the column is valid 146 146 if ( array_key_exists( $col_id, $cols ) ) { 147 echo '"' . esc_html( addslashes( $column ) ) . '"'; 148 echo $i == count( $cols ) ? '' : ','; 149 $i++; 147 if( is_array( $column ) ) { 148 echo '"' . esc_html( addslashes( implode( ',', $column ) ) ) . '"'; 149 echo $i == count( $cols ) ? '' : ','; 150 $i++; 151 } else { 152 echo '"' . esc_html( addslashes( $column ) ) . '"'; 153 echo $i == count( $cols ) ? '' : ','; 154 $i++; 155 } 150 156 } 151 157 } -
wp-crm-system/trunk/includes/reports/opportunity-reports.php
r2660689 r3020300 281 281 if ( '' === $value_output ) { 282 282 $value_output = 'Not Set'; 283 } else {283 } elseif( is_float( $value_output ) ) { 284 284 $value_output = wpcrm_system_display_currency_symbol( get_option( 'wpcrm_system_default_currency' ) ) . ' ' . number_format( $value_output, get_option( 'wpcrm_system_report_currency_decimals' ), get_option( 'wpcrm_system_report_currency_decimal_point' ), get_option( 'wpcrm_system_report_currency_thousand_separator' ) ); 285 285 } … … 328 328 $opportunity_report .= '</td><td>' . $assignment_output; 329 329 330 $terms = get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) );330 $terms = isset( $_POST['wp-crm-system-tax-name'] ) ? get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) ) : ''; 331 331 if( ! empty( $terms ) ) { 332 332 $categories = array(); -
wp-crm-system/trunk/includes/reports/project-reports.php
r2660689 r3020300 259 259 260 260 $close_output = esc_html( get_post_meta( $wpcpost->ID, $prefix . 'project-closedate', true ) ); 261 if ( '' !== $close_output ) {261 if ( '' !== $close_output && is_int( $close_output ) ) { 262 262 $close_output = date( esc_html( get_option( 'wpcrm_system_php_date_format' ) ), $close_output ); 263 263 } else { … … 292 292 if ( '' === $value_output ) { 293 293 $value_output = 'Not Set'; 294 } else {294 } elseif( is_float( $value_output ) ) { 295 295 $value_output = wpcrm_system_display_currency_symbol( get_option( 'wpcrm_system_default_currency' ) ) . ' ' . number_format( $value_output, get_option( 'wpcrm_system_report_currency_decimals' ), get_option( 'wpcrm_system_report_currency_decimal_point' ), get_option( 'wpcrm_system_report_currency_thousand_separator' ) ); 296 296 } … … 327 327 $project_report .= '</td><td>' . $assignment_output; 328 328 329 $terms = get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) );329 $terms = isset( $_POST['wp-crm-system-tax-name'] ) ? get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) ) : ''; 330 330 if( ! empty( $terms ) ) { 331 331 $categories = array(); -
wp-crm-system/trunk/readme.txt
r2957846 r3020300 3 3 Tags: WordPress CRM, Free CRM for WordPress, CRM, Free WordPress CRM, CRM for WordPress, gdpr 4 4 Requires at least: 3.3.0 5 Requires PHP: 5.66 Tested up to: 6. 37 Stable tag: 3.2. 85 Requires PHP: 7.4 6 Tested up to: 6.4.2 7 Stable tag: 3.2.9 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 92 92 == Changelog == 93 = 3.2.8 = 93 = 3.2.9 = 94 * Fix: PHP Fatal and warnings when generating reports 95 * Fix: Bugs on exporting report 96 = 3.2.7.2 = 94 97 * New: Option on how you want the system handles the duplicate entries 95 98 * Fix: Opportunity to Project conversion bugs -
wp-crm-system/trunk/wp-crm-system.php
r2957846 r3020300 4 4 Plugin URI: https://www.wp-crm.com 5 5 Description: A complete CRM for WordPress 6 Version: 3.2. 86 Version: 3.2.9 7 7 Author: Premium WordPress Support 8 8 Author URI: https://www.wp-crm.com … … 35 35 } 36 36 if ( ! defined( 'WP_CRM_SYSTEM_VERSION' ) ) { 37 define( 'WP_CRM_SYSTEM_VERSION', '3.2. 7.2' );37 define( 'WP_CRM_SYSTEM_VERSION', '3.2.9' ); 38 38 } 39 39 if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.