XPressME Integration Kit

Trac

Changeset 628


Ignore:
Timestamp:
Jun 21, 2010, 9:33:20 AM (14 years ago)
Author:
toemon
Message:

Fatal error: Call to undefined function xpress_create_new_blog() Fixes#357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/xoops_version.php

    r621 r628  
    155155                        $modversion['sub'][5]['url'] = "admin/index.php"; 
    156156                } 
    157                 $create_new_blog = xpress_create_new_blog(); 
     157                if (function_exists('xpress_create_new_blog'))$create_new_blog = xpress_create_new_blog(); 
    158158                if(!empty($create_new_blog)){ 
    159159                        $modversion['sub'][6]['name'] = $create_new_blog['title']; 
    160160                        $modversion['sub'][6]['url'] = $create_new_blog['menu_url']; 
    161161                } 
    162                 $primaryw_blog = xpress_primary_blog_link(); 
     162                if (function_exists('xpress_primary_blog_link'))$primaryw_blog = xpress_primary_blog_link(); 
    163163                if(!empty($primaryw_blog)){ 
    164164                        $modversion['sub'][7]['name'] = $primaryw_blog['title']; 
Note: See TracChangeset for help on using the changeset viewer.