Changeset 12949

Show
Ignore:
Timestamp:
11/12/11 11:50:10 (7 months ago)
Author:
p_lindheimer
Message:

undefined variables

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.10/amp_conf/htdocs/recordings/includes/common.php

    r12167 r12949  
    1010 */ 
    1111function checkErrorMessage() { 
     12  $ret = ''; 
    1213 
    1314  if ($_SESSION['ari_error']) { 
     
    273274  global $loaded_modules; 
    274275 
     276  $nav_menu = ''; 
     277  $subnav_menu = ''; 
     278 
    275279  // check errors here and in login block 
    276   $content .= checkErrorMessage(); 
     280  $content = checkErrorMessage(); 
    277281 
    278282  // check logout 
     
    292296  $m = $_REQUEST['m'];     // module 
    293297  $f = $_REQUEST['f'];     // function 
    294   $a = $_REQUEST['a'];     // action 
     298  $a = isset($_REQUEST['a']) ? $_REQUEST['a'] : '';     // action 
    295299 
    296300  // set arguments 
  • freepbx/branches/2.10/amp_conf/htdocs/recordings/includes/display.php

    r10734 r12949  
    6969   */ 
    7070  function displaySearchBlock($align,$m,$q,$url_opts,$focus) { 
     71    $option_text = ''; 
     72    $ret = ''; 
    7173 
    7274    // align 
     
    122124   */ 
    123125  function displayInfoBarBlock($controls,$q,$start,$span,$total) { 
     126    $ret = ''; 
    124127 
    125128    if ($total<$span) {  
     
    170173   */ 
    171174  function displayNavigationBlock($m,$q,$url_opts,$start,$span,$total) { 
     175    $ret = ''; 
     176    $middle_page_text = ''; 
     177    $option_text = ''; 
    172178 
    173179    $start = ($start=='' || !ctype_digit($start)) ? 0 : $start;