Changeset 592


Ignore:
Timestamp:
2009-04-16T10:50:16+02:00 (5 years ago)
Author:
moo
Message:

show var export'ed value for non-editable content

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/edit.php

    r591 r592  
    2828} 
    2929else { 
    30     $editable = is_string($value); 
     30    if (is_string($value)) { 
     31        $editable = true; 
     32    } 
     33    else { 
     34        $editable = false; 
     35        $value = var_export($value, true); 
     36    } 
    3137} 
    3238 
Note: See TracChangeset for help on using the changeset viewer.