Changeset 489

Show
Ignore:
Timestamp:
2008-05-28 11:04:35 (5 months ago)
Author:
tdb01r
Message:
  • Suppress an undef warning
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/www/html/include/roar_api.php

    r488 r489  
    19531953                echo "<input type='hidden' name='".htmlescape($key)."' value='".htmlescape($value)."' />\n"; 
    19541954        foreach($ARCHIVES as $url => $archive) 
    1955                 foreach($archive['oai'] as $url) 
    1956                 { 
    1957                         echo "<input type='hidden' name='baseURL' value='".htmlescape($url)."' />\n"; 
    1958                         echo htmlescape($url)."<br />\n"; 
    1959                 } 
     1955                if( isset($archive['oai']) ) 
     1956                        foreach($archive['oai'] as $url) 
     1957                        { 
     1958                                echo "<input type='hidden' name='baseURL' value='".htmlescape($url)."' />\n"; 
     1959                                echo htmlescape($url)."<br />\n"; 
     1960                        } 
    19601961        echo <<<EOH 
    19611962<input id='graphsubmit' type='submit' name='submit' value='Generate' class='small_search_button' />