Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 04c85293

Von Sven Schöling vor mehr als 17 Jahren hinzugefügt

  • ID 04c852931c480acc14560633c9768777758ecb27
  • Vorgänger 635dd08d
  • Nachfolger 08aa44f6

quote_db_date verschoben nach DBUtils

Unterschiede anzeigen:

SL/Form.pm
239 239
  return $str;
240 240
}
241 241

  
242
sub quote_db_date {
243
  $main::lxdebug->enter_sub(2) and my ($self, $str) = @_;
244
  $main::lxdebug->leave_sub(2) and return "NULL" unless defined $str;
245
  $main::lxdebug->leave_sub(2) and return "current_date" if $str =~ /current_date/;
246
  $str =~ s/'/''/g;
247
  $main::lxdebug->leave_sub(2) and return "'$str'";
248
}
249

  
250

  
251 242
sub hide_form {
252 243
  my $self = shift;
253 244

  

Auch abrufbar als: Unified diff