Plugin Directory

Changeset 2134124


Ignore:
Timestamp:
08/05/2019 10:27:38 AM (7 years ago)
Author:
pamjad
Message:

Fixed pjimdb function warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pj-imdb/trunk/pj-imdb.php

    r2130646 r2134124  
    44Plugin URI: http://pamjad.me/pj-imdb/
    55Description: fetch the information of the movies from IMDB databse
    6 Version: 2.0.0
     6Version: 2.0.1
    77Author: Pouriya Amjadzadeh
    88Author URI: http://pamjad.me
     
    200200
    201201function pjimdb($value ='',$postID = '',$echo = false) {
    202     global $post;
    203202    if(empty($value)) return NULL;
    204     if(empty($postID)) $postID = $post->ID;
     203    if(empty($postID)) $postID = get_the_ID();
    205204
    206205    $data = array('id','type','name','poster','year','genre','director','author','actors','country','language','rated','runtime','rating','votes','metascore','award','sell','production','story','website','imdburl');
Note: See TracChangeset for help on using the changeset viewer.