Changeset 1505113
- Timestamp:
- 09/29/2016 01:23:18 PM (10 years ago)
- Location:
- virtuous/trunk
- Files:
-
- 2 edited
-
lib/core/class-virtuous-project.php (modified) (2 diffs)
-
virtuous.zip (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
virtuous/trunk/lib/core/class-virtuous-project.php
r1495983 r1505113 260 260 global $VirtuousUtilities; 261 261 $get_variable = $VirtuousUtilities->vdrm_extract_variables(); 262 $id = isset( $get_variable[1] ) ? $get_variable[1] : '';262 $id = $get_variable[count( $get_variable ) - 1]; 263 263 $return_val = ''; 264 264 $ajax_url = plugin_dir_url( __FILE__ ) . 'listener.php'; … … 276 276 $virtuous_api_project_types = implode( ', ', array_keys( $virtuous_api_project_types_array ) ); 277 277 278 if ( ! empty( $id ) ) {278 if ( ! empty( $id ) && is_numeric( $id ) ) { 279 279 280 280 global $VirtuousProject;
Note: See TracChangeset
for help on using the changeset viewer.